* {
  box-sizing: border-box;
}

body {
 /* margin: 0; */
  font-family: 'Cinzel', serif;
  background-color: #f7f1e6;
  color: #847455;
  background: url(log_back.jpg) center center /cover no-repeat;
}

.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
 /* height: 100vh; */
  position: relative;
}

/*.login-container {
  display: flex;
background: #fff;
 /* width: 70%;
}*/

.login-container {
  position: relative; /* مهم لتموضع الطبقة */
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 3px solid #96855b;
  border-radius: 12px;
  overflow: hidden;
 /* max-width: 850px; */
 /* margin: 5px;*/
}

.login-container::before {
  content: "";
  position: absolute;
  inset: 0; /* تعني top/right/bottom/left = 0 */
  background: rgba(227 220 207 / 70%); /* اللون والشفافية */
  z-index: -1; /* تحت المحتوى */
  border-radius: inherit; /* نفس الانحناء */
}

.login-box {
  /*flex: 1;*/
  padding: 10px;
 /* background-color: #f7f1e6;*/

}
.logo {
  display: flex;
  justify-self: center;
  height: 80px;
  border-radius: 50%;
}
.login-box h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: #877447;
  margin: 10px 0;
  text-align: center;
}

.login-description {
  color: #767854;
  max-width: 300px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  font-size: 0.8rem;
}

.login-description::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px; /* المسافة من النص */
  width: 200px; /* طول الخط */
  height: 2px; /* سمك الخط */
  background-color: #96855b;
  transform: translateX(-50%); /* موازنة الوسطية */
}
label{
  font-size: 0.7rem;
}
.input-wrapper {
  position: relative;
  margin-bottom: 10px;
}

.input-wrapper i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #847455;
  font-size: 1rem;
  pointer-events: none;
}

.login-box input {
  width: 100%;
  padding: 8px 8px 8px 30px;
  border: 2px solid #624837;
  border-radius: 5px;
  background: rgba(227 220 207 / 70%);
  font-size: 0.7rem;
  color: #877447;
  outline: none;
  transition: border-color 0.3s;
}

.login-box input::placeholder {
  color: #aca598;
  font-style: italic;
}

.login-box input:focus {
  border-color: #62483766;
}

.error-msg {
  color: #847455;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: none;
}

.extra-links {
  text-align: right;
  margin-bottom: 15px;
}

.forgot-password {
  font-size: 0.7rem;
  color: #847455;
  text-decoration: none;
  user-select: none;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: rgba(132, 116, 85, 0.7);
}

.login-btn {
  display: block;
  margin: 10px auto;
  width: 40%;
  background-color: #877447;
  color: #ffffff;
  padding: 8px ;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  user-select: none;
}

.login-btn:hover {
  background-color: rgba(150, 133, 91,0.9);
}

.or-divider {
  display: flex;
  align-items: center;
  text-align: center;
 /* margin: 20px 0;  المسافة بين العناصر */
  padding: 0 50px ;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #96855b; /* لون الخط */
}

.or-divider::before {
  margin-right: 10px; /* مسافة بين الخط والكلمة */
}

.or-divider::after {
  margin-left: 10px; /* مسافة بين الخط والكلمة */
}

.or-divider span {
  color: #96855b; /* لون كلمة OR */
  font-weight: bold;
}


.signup-container {
  text-align: center;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #978555;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.signup-btn {
  background-color: #96855b;
  color: white;
  padding: 6px 8px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
  user-select: none;
  font-size: 0.6rem;
}

.signup-btn:hover {
  background-color: rgba(150, 133, 91, 0.7);
}

.side-image {
  flex: 1;
  display: none;
}



.lang-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 1.2rem;
  color: #877447;
  cursor: pointer;
}


