/* Forgot Password Page Styles */

/* Card */
.auth-unified-card {
  max-width: 420px;
  width: 100%;
  padding: 40px 40px 32px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 6px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid #E5E7EB;
}

/* Title & Subtitle */
.auth-unified-title {
  text-align: center;
  margin-bottom: 6px;
}

.auth-unified-title h1 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.auth-unified-subtitle {
  text-align: center;
  margin-bottom: 28px;
}

.auth-unified-subtitle p {
  font-size: 14px;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}

/* Form groups */
.auth-unified-form .form-group {
  margin-bottom: 18px;
}

.auth-unified-form .form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

/* Inputs */
.auth-unified-form .form-control {
  width: 100%;
  padding: 10px 13px;
  font-size: 15px;
  color: #111827;
  background: #ffffff;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

.auth-unified-form .form-control:focus {
  border-color: #111827;
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

.auth-unified-form .form-control::placeholder {
  color: #9CA3AF;
  font-size: 14px;
}

/* Primary button */
.auth-unified-btn {
  width: 100%;
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: #111827;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.auth-unified-btn:hover {
  background: #1F2937;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.auth-unified-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}

.auth-unified-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Help links */
.auth-unified-help {
  margin-top: 20px;
  text-align: center;
}

.auth-unified-help p {
  font-size: 13px;
  color: #6B7280;
  margin: 6px 0;
  line-height: 1.5;
}

.auth-unified-help a {
  color: #111827;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.auth-unified-help a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Validation feedback */
.auth-unified-form .invalid-feedback {
  display: none;
  font-size: 12px;
  font-weight: 500;
  color: #B91C1C;
  margin-top: 5px;
}

.auth-unified-form .invalid-feedback:not(.d-none) {
  display: block;
}

.auth-unified-form .form-control.is-invalid {
  border-color: #EF4444;
}

.auth-unified-form .form-control.is-invalid:focus {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Alert messages */
.auth-unified-alert {
  padding: 11px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  border-width: 1px;
  border-style: solid;
}

.auth-unified-alert.alert-success {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #14532D;
}

.auth-unified-alert.alert-danger {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #7F1D1D;
}

.auth-unified-alert.alert-info {
  background: #F9FAFB;
  border-color: #E5E7EB;
  color: #374151;
}

/* Spinner */
.auth-unified-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  margin-right: 8px;
  flex-shrink: 0;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .auth-unified-card {
    padding: 32px 20px 24px;
    border-radius: 12px;
  }

  .auth-unified-title h1 {
    font-size: 20px;
  }

  .auth-unified-subtitle p {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .auth-unified-form .form-group {
    margin-bottom: 20px;
  }

  .auth-unified-form .form-control {
    padding: 12px 14px;
    font-size: 16px;
  }

  .auth-unified-btn {
    height: 48px;
    font-size: 16px;
  }

  .auth-unified-help {
    margin-top: 24px;
  }
}