/* ===== LOGIN PAGE ===== */
.login-page {
  background: linear-gradient(135deg, #000000ff 0%, #2e0302ff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-box {
  width: 100%;
  max-width: 400px;
  color: dark;
}

.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo a {
  color: white;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 300;
}

.login-logo img {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.login-card-body {
  background-color: white;
  border-radius: 1rem;
  padding: 2.5rem !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-box-msg {
  text-align: center;
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 2rem;
  padding: 0;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group-text {
  background-color: #edeff0ff;
  border: 1px solid #ced4da;
  border-right: none;
}

.form-control {
  border-left: none;
  padding-left: 0;
}

.form-control:focus {
  box-shadow: none;
  border-color: #ced4da;
}

.btn-login {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.alert {
  border-radius: 0.5rem;
  border: none;
  margin-bottom: 1.5rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-box {
  animation: fadeInUp 0.5s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
  .login-card-body {
    padding: 1.5rem !important;
  }

  .login-logo {
    font-size: 1.5rem;
  }
}

/* ===== CUSTOM CHECKBOX ===== */
.custom-control-label::before {
  border-radius: 0.25rem;
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #667eea;
  border-color: #667eea;
}

/* ===== LINK STYLES ===== */
a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* Force Change Password Page */
.force-change-password-box {
  width: 100%;
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
}

.hold-transition.login-page {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Password Strength Indicator */
#password-strength-bar {
  transition: width 0.3s ease;
}

#password-strength-text {
  font-weight: 500;
}

/* Progress bar colors */
.bg-danger {
  background-color: #dc3545 !important;
}
.bg-warning {
  background-color: #ffc107 !important;
}
.bg-info {
  background-color: #17a2b8 !important;
}
.bg-success {
  background-color: #28a745 !important;
}

.text-danger {
  color: #dc3545 !important;
}
.text-warning {
  color: #ffc107 !important;
}
.text-info {
  color: #17a2b8 !important;
}
.text-success {
  color: #28a745 !important;
}
