.login-container {
  display: flex;
  /* height: 100vh; */
  flex-wrap: wrap;
  background-color: #ffffff;
}

.image-container {
  flex: 1;
  background-image: url("../images/login.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.form-container {
  flex: 1;
  background-color: #f8f9fa;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.show-hide-icon {
  cursor: pointer;
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #6c757d;
  transition: color 0.3s ease;
}

.show-hide-icon:hover {
  color: #495057;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}
.Create_Account {
  text-transform: capitalize !important;
  margin-bottom: 2rem !important;
  font-size: 1.8rem;
}
.w_420 {
 min-width: 420px !important;
}
.form_container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 1rem 0;
}

.welcomeback {
  font-size: clamp(1.5rem, 2vw + 1rem, 3rem);
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 3rem;
  color: #212529;
  letter-spacing: 0.5px;
}

.close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  background: transparent !important;
  transition: background-color 0.3s ease;
}

.close:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.close::before,
.close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #343a40;
  transition: background-color 0.3s ease;
}

.close::before {
  transform: rotate(45deg);
}

.close::after {
  transform: rotate(-45deg);
}

.form-container label {
  display: block;
  /* margin-bottom: 0.5rem; */
  color: #495057;
  font-weight: 500;
}

input.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.custom_form {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  padding: 2rem 0;
}

input.form-control:focus-visible {
  outline: none;
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

input:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #212529 !important;
}

.show_password {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

input#toggle-password {
  margin: 0;
  cursor: pointer;
}

a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0a58ca;
}

.form_text {
  text-align: center;
  margin: 1.25rem 0;
  color: #6c757d;
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  border-color: #80bdff;
}

small {
  display: block;
  margin-bottom: 1rem;
  color: #6c757d;
}

h1.ResetPassword {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.75rem);
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 3rem;
  color: #212529;
  letter-spacing: 0.5px;
}

.cursor_pointer {
  cursor: pointer;
}

.password-toggle {
  border: var(--bs-border-width) solid var(--bs-border-color) !important;
  border-radius: 4px;
  padding: 0.75rem 1rem;
}

@media (max-width: 992px) {
  .login-container {
    flex-direction: column;
  }

  .image-container {
    display: none;
  }

  .form-container {
    padding: 2rem 1.5rem 0rem 1.5rem;
  }

  .login-form {
    max-width: 90% !important;
    min-width: 90%;
    height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .image-container {
    height: 40vh;
    min-height: auto;
  }

  .form-container {
    padding: 0rem;
  }

  .login-form {
    padding: 1.5rem;
  }

  .form-control {
    font-size: 0.875rem;
  }

  .btn-primary {
    font-size: 0.875rem;
  }

  .login-form {
    max-width: 100% !important;
    width: 100%;
  }

  .welcomeback {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .image-container {
    height: 30vh;
  }

  .login-form {
    padding: 1rem 1rem 0rem 1rem;
    width: 100%;
  }

  .btn-primary {
    font-size: 0.875rem;
    padding: 0.625rem;
  }
  .w_420 {
    min-width: 100% !important;
  }
  .form-control {
    font-size: 0.875rem;
  }

  .form-text a {
    font-size: 0.75rem;
  }

  .login-form {
    max-width: 100% !important;
    min-width: 100%;
  }

  .custom_form {
    padding: 0rem;
    margin-top: 20px !important;
  }
}
