/* Login Page Styles */
body {
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.login-container {
  height: 100vh;
  overflow: hidden;
}

/* Brand Section */
.brand-section {
  background: linear-gradient(135deg, #1e1e20  0%, #254176 100%);
  position: relative;
  overflow: hidden;
}

.brand-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(63, 81, 181, 0.15) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.brand-content {
  padding: 3rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.brand-logo {
  height: 120px;
  width: auto;
  filter: brightness(1.2);
}

.brand-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.brand-subtitle {
  color: #4980c7;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.brand-description {
  color: #e8eaf6;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 450px;
}

.brand-features {
  max-width: 400px;
}

.feature-item {
  color: #ffffff;
  font-size: 1rem;
}

.feature-icon {
  color: #4980c7;
  font-size: 1.25rem;
}

/* Form Section */
.form-section {
  background: #f5f5f5;
  padding: 2rem;
}

.form-wrapper {
  max-width: 480px;
  margin: 0 auto;
}

.form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.form-header {
  margin-bottom: 2rem;
}

.login-icon-wrapper {
  display: inline-block;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(63, 81, 181, 0.1) 0%, rgba(92, 107, 192, 0.1) 100%);
  border-radius: 50%;
}

.login-icon {
  font-size: 3rem;
  color: #3f51b5;
}

.form-title {
  color: #212121;
  font-size: 1.75rem;
  font-weight: 700;
}

.form-subtitle {
  color: #757575;
  font-size: 0.95rem;
}

/* Form Controls */
.form-label {
  color: #212121;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.input-group-custom {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #3f51b5;
  z-index: 5;
}

#id_login,
#id_password,
#id_email {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fafafa;
}

#id_login:focus,
#id_password:focus,
#id_email:focus {
  outline: none;
  border-color: #3f51b5;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.1);
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #757575;
  z-index: 5;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: #3f51b5;
}

/* Checkbox */
.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #bdbdbd;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #3f51b5;
  border-color: #3f51b5;
}

.form-check-label {
  color: #212121;
  font-size: 0.9rem;
  cursor: pointer;
  margin-left: 0.5rem;
}

.forgot-password-link {
  color: #3f51b5;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.forgot-password-link:hover {
  color: #303f9f;
  text-decoration: underline;
}

/* Login Button */
.btn-login {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #3f5bb5 0%, #304e9f 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(63, 81, 181, 0.3);
}

.btn-login:hover {
  background: linear-gradient(135deg, #4866cc 0%, #4b6cd5 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(63, 81, 181, 0.4);
}

.btn-login:active {
  transform: translateY(0);
}

/* Alerts */
.alert-custom {
  border-radius: 10px;
  border: none;
  padding: 1rem;
  display: flex;
  align-items: center;
}

.alert-custom i {
  font-size: 1.1rem;
}

/* Password Reset Done Page */
.password-reset-done-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.password-reset-done-card .title {
  color: #212121;
  font-size: 1.75rem;
  font-weight: 700;
}

.password-reset-done-card .sub-title {
  color: #757575;
  font-size: 1rem;
  line-height: 1.6;
}

.password-reset-done-card .single-illustration {
  max-height: 200px;
  width: auto;
  max-width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
  .form-section {
    padding: 1.5rem;
  }
  
  .form-card {
    padding: 2rem;
  }
  
  .brand-title {
    font-size: 2rem;
  }
  
  .brand-subtitle {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .password-reset-done-card {
    padding: 2rem 1.5rem;
  }
  
  .password-reset-done-card .title {
    font-size: 1.5rem;
  }
  
  .password-reset-done-card .sub-title {
    font-size: 0.95rem;
  }
  
  .password-reset-done-card .single-illustration {
    max-height: 150px;
  }
}

@media (max-width: 575px) {
  .password-reset-done-card {
    padding: 1.5rem 1rem;
  }
  
  .password-reset-done-card .title {
    font-size: 1.35rem;
  }
  
  .password-reset-done-card .sub-title {
    font-size: 0.9rem;
  }
  
  .password-reset-done-card .single-illustration {
    max-height: 120px;
  }
}