/* ==========================================================================
   Reset password (reset-password.html)
   Previously a standalone page with no site chrome at all (no nav, no
   footer, no Bootstrap/tokens) -- brought in line with login.html/
   register.html's shared header/footer and .login-card treatment for a
   uniform look across every auth page.
   ========================================================================== */

/* ==========================================================================
   Container & card
   ========================================================================== */
.login-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--light), var(--surface));
  padding: var(--space-9);
  box-sizing: border-box;
}

.login-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.login-card h1 {
  text-align: center;
  color: var(--dark);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-3);
}

.reset-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-5);
}

/* ==========================================================================
   Form
   ========================================================================== */
.input-group {
  position: relative;
  margin-bottom: var(--space-4);
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  font-size: var(--font-size-base);
  border-radius: var(--radius-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.input-group input:focus {
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
  outline: none;
}

.form-message {
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--danger);
  min-height: 1.2em; /* prevents layout shift */
  text-align: center;
}

.form-message.success {
  color: var(--success);
}

/* ==========================================================================
   Mobile home button (nav)
   ========================================================================== */
.home-btn {
  width: 56px;
  height: 56px;
  background: #dedfe0;
  border-radius: 50%;
  color: #000;
  text-decoration: none;
  margin-left: -5px;
  transition: all 0.2s ease;
}

.home-btn:hover {
  background-color: #e9ecef;
  color: #000;
  transform: scale(1.05);
}

.home-btn:active {
  transform: scale(0.95);
}

.home-btn i {
  font-size: 1.5rem;
  line-height: 1;
}

.home-text {
  font-size: 10px;
  line-height: 1;
  margin-top: 2px;
  color: #1f2937;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .login-container {
    padding: var(--space-4);
  }

  .login-card {
    padding: var(--space-5) var(--space-4);
  }
}
