body {
  margin: 0;
 font-family: "Noto Kufi Arabic", sans-serif; 
  background-color: #f8f6ef;
  direction: rtl;
}

.login-container {
  display: flex;
  height: 100vh; /* ✅ هذا السطر الجديد */
  
}


.login-form {
  margin: auto;
  flex: 1;
  background-color: white;
  padding: 0 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh; /* ✅ هذا السطر الجديد */
}


.login-form h4 {
    
  margin: 0;
  font-size: 1.5rem;
font-style: 600;
}

.login-form h4 .brand-name {
  color: #B69947;
  font-weight: bold;
}

.login-form h2 {
  margin-top: 0.5rem;
  font-style: 600;

  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: bold;
}

.login-form p {
  color: #747981;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

form {
  display: flex;
  flex-direction: column;
}



.phone-input {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  background-color: #f9f9f9;
}

.phone-input .country-code {
  background-color: #f9f9f9;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.phone-input input:focus,
.phone-input input:active,
.password-input input:focus,
.password-input input:active {
  outline: none;
  box-shadow: none;
}

.phone-input input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  background: transparent;
  font-size: 18px;
}

.password-input {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 18px;
  background-color: #f9f9f9;
  margin-bottom: 1rem;
}

.password-input .toggle-visibility {
  position: absolute;
  left: 1rem;
  top: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  color: #aaa;
}

.forgot-password {
  color: #a88433;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.submit-btn {
  background-color: #b69947;
  color: white;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}
.create-account {
  margin-top: 1rem;
  font-size: 14px;
  color: #000000;
  text-align: center;
  font-weight: 600; /* بدل bold بخط ثقيل يدعمه الخط */
}

.create-account a {
  color: #b69947;
  text-decoration: none;
  font-weight: 700;
}


.login-btn {
  width: 100%;
  background-color: #B69947;
  color: white;
  padding: 0.9rem;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: #a88433; /* لون أغمق بسيط عند التحويم */
}



/*  */



.login-image {
    flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100vh;
}

.background-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.background-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.image-content {
  z-index: 1;

  /* padding: 3`rem; */
  color: white;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.image-content h1 {
  font-size: 3rem;
  font-weight:500;
  margin: 0;
}

.highlight-wrapper {
    width: 100% ;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem; /* قللت المسافة */
  line-height: 1;
}

.normal-text {
  font-size: 2.5rem;
  color: white;
  white-space: nowrap;
}

.highlight-block {
  position: relative;
  display: inline-block;
  line-height: 1;
}

.login-highlight-text {
  position: relative;
  font-size: 2.1rem;
  color: white;
  white-space: nowrap;
  /* padding: 0.2rem 0.6rem; */
}

.highlight-bg {
  position: absolute;
  top: 50%;
  /* right: -100%; */
  transform: translateY(-50%);
  height: 100%;
  z-index: -1;
}

.slider-dots {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  border: 2px solid transparent;
}

.dot.active {
  background-color: #b69947;
  border: 2px solid #b69947;
  box-shadow: 0 0 5px #b69947;
}




@media (max-width: 1024px) {
  .login-image {
    display: none;
  }

  .login-form {
    height: 100vh; /* ✅ خلي الفورم ياخد ارتفاع الشاشة */
  }
}


@media (max-width: 768px) {
  .login-form h1,
  .image-content h1 {
    font-size: 2rem;
  }

  .normal-text,
  .login-highlight-text {
    font-size: 1.5rem;
  }

  .highlight-bg {
    display: none; /* لإخفاء الشكل الزخرفي إن رغبت */
  }
}

@media (min-width: 100px) and (max-width: 1050px) {
  .login-form {
    height: 100vh;
    /* padding: 1.5rem; */
    justify-content: center;
  }
}
