/* =====================================
   FORGOT PASSWORD – PREMIUM STYLE
   ===================================== */

/* Page background */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

}

/* Card container */
.auth-container {
  width: 100%;
  max-width: 1000px;
  padding: 24px;
}

/* Card */
.auth-card {

  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 34px 28px 30px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.6);
  animation: fadeUp 0.55s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Title */
.auth-card h2 {
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #064e3b;
}

.auth-card h2 i {
  margin-right: 8px;
  color: #10b981;
}

/* Subtitle */
.auth-subtitle {
  text-align: center;
  font-size: 0.98rem;
  color: #475569;
  margin-bottom: 26px;
  line-height: 1.5;
}

/* Input group */
.input-group {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  transition: border 0.25s, box-shadow 0.25s;
}

.input-group i {
  color: #22c55e;
  margin-right: 12px;
  font-size: 1.05rem;
}

.input-group input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 1rem;
  color: #111827;
}

.input-group:focus-within {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
}

/* Button */
.auth-card button {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 12px 24px rgba(16,185,129,0.35);
}

.auth-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(16,185,129,0.45);
}

.auth-card button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

/* Message */
.info-message {
  margin-top: 18px;
  text-align: center;
  font-size: 0.95rem;
}

/* Footer */
.auth-footer {
  margin-top: 22px;
  text-align: center;
}

.auth-footer a {
  color: #059669;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Dark mode */
[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(16,185,129,0.2), transparent 40%),
    radial-gradient(circle at bottom right, rgba(52,211,153,0.25), transparent 45%),
    #020617;
}

[data-theme="dark"] .auth-card {
  background: rgba(15,23,42,0.92);
  color: #e5e7eb;
}

[data-theme="dark"] .auth-subtitle {
  color: #9ca3af;
}

[data-theme="dark"] .input-group {
  background: #020617;
  border-color: #334155;
}

[data-theme="dark"] .input-group input {
  color: #e5e7eb;
}

[data-theme="dark"] .auth-card h2 {
  color: #6ee7b7;
}


.auth-rules {
  margin-top: 22px;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #475569;
}

.auth-rules li {
  margin-bottom: 6px;
}

[data-theme="dark"] .auth-rules {
  color: #9ca3af;
}

.info-message {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;

  opacity: 1;
  display: block;
  height: auto;

  transition: opacity 0.3s ease;
}
