/* Add fully rounded edges to the surrounding divs */
.email-field,
.password-field {
  height: 40px;
  border-radius: 8px; /* Fully rounded edges */
  background-color: #f1f5f9; /* Optional: Add a background color */
}

/* Style the input fields inside the divs */
.email-field input,
.password-field input,
#new_password,
#confirm_password {
  height: 40px;
  border-radius: 8px; /* Fully rounded edges */
  border: 1px solid #ffffff; /* Optional: Add a border */
}
button[type="submit"] {
  height: 40px;
  border-radius: 8px; /* Fully rounded edges */
  border: 1px solid black; /* Optional: Add a border */
}
.email-field svg,
.password-field svg {
  margin-top: 7px;
}
.toggle-password {
  margin-top: 5px;
}

#page-login, #page-update-password {
  background-image: url("/assets/asaal/images/asaal_login_background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100% !important;
}

[data-path="login"] .navbar,[data-path="update-password"] .navbar, [data-path="update-password"] .web-footer {
  display: none !important;
}
.page_content {
  display: flex; /* Enables flexbox */
  flex-wrap: wrap;
  justify-content: center; /* Centers content horizontally */
  align-items: center; /* Centers content vertically */
}
@media (min-width: 1200px) {
  .page_content {
    height: 95vh; /* Makes it take the full viewport height */
  }
}
@media (max-width: 480px) {
  .page_content {
    margin-top: 100px;
  }
}

.login-content {
  flex: 1; /* Takes 50% of the space */
  background-color: lightblue; /* Example styling */
}

.page-card {
  max-width: 600px;
  min-width: 600px;
  min-height: 614px;
  padding: 25px 10px !important;
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .page-card {
    max-width: 90%; /* Adjust width for better responsiveness */
    min-width: unset; /* Remove fixed min-width */
    min-height: 550px; /* Reduce height slightly */
    padding: 20px 8px !important; /* Reduce padding */
  }
}

/* Small screens (mobile) */
@media (max-width: 480px) {
  .page-card {
    max-width: 91.5%; /* Make it almost full width */
    min-width: unset;
    min-height: auto; /* Allow height to adjust dynamically */
    padding: 15px 5px !important; /* Smaller padding for smaller screens */
  }
}

.login-slider {
  flex: 1; /* Takes 50% of the space */
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: right; /* Center content horizontally */
  justify-content: center; /* Center content vertically */
  text-align: right; /* Right-align text */
  direction: rtl; /* Right-to-left layout */
  color: white;
  margin-top: 250px;
}

@media (max-width: 480px) {
  .login-slider {
    display: none; /* Hide the slider on smaller devices */
  }
}
/* Style for the logo */
.login-logo {
  width: 100px; /* Adjust as needed */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 20px; /* Spacing below the logo */
}

/* Style for the heading */
.login-slider h4 {
  margin-bottom: 10px;
  color: white;
  margin-top: 0 !important;
}

.slider-controls {
  display: flex;
  margin-right: 435px;
  gap: 5px;
}

.slider-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.login-header,
.page-card-footer {
  display: flex;
}
.page-card-footer {
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 100px;
}
.page-card-head {
  padding-top: 0 !important;
}
.page-card-head p {
  font-size: 20px !important;
}
@media (max-width: 480px) {
    .page-card-head {
      max-width: 77%;
    }

}
.page-card-footer img {
  width: 71.534px;
}
.page-card-footer p {
  margin: 0 !important;
}
.slider-content p {
  font-size: 20px;
}
.slider-content {
  min-height: 195px;
  overflow: hidden;
}

.slider-content h4,
.slider-content p {
  opacity: 0;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* Moving to the right (next) */
.slider-content.next h4,
.slider-content.next p {
  transform: translateX(20px);
  opacity: 0; /* Fades out when moving */
}

/* Moving to the left (prev) */
.slider-content.prev h4,
.slider-content.prev p {
  transform: translateX(-20px);
  opacity: 0; /* Fades out when moving */
}

/* Fully visible after sliding */
.slider-content.active h4,
.slider-content.active p {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 1200px) {
  [data-path="login"] main, [data-path="update-password"] main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.company-logo {
  height: 132px !important;
  max-height: 132px !important;
}

[data-path="login"] form, [data-path="update-password"] form {
  max-width: 400px !important;
}

@media (max-width: 480px) {
  [data-path="login"] form, [data-path="update-password"] form {
    max-width: 89% !important;
  }
}
.slider-indicators {
    display: flex;
    justify-content: right;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.36);
}

.dot.active {
    background-color: white; /* Filled dot for the active slide */
}




/* Reset Password */
.for-reset-password .page-card {
  justify-content: center;
  display: grid;
}

#reset-password {
  text-align: right;
  margin: 0 auto;
  min-width: 400px;
  margin-top: -20% !important;
}
.for-reset-password .page-card .page-card-head {
  margin: 0 !important;
}


.for-reset-password {
  margin: 0 !important;
}