/* =============================================
   BVetter — forgot-password.css
   Page: Forgot password page (no navbar — unauthenticated).
   Depends: variables.css (must load first in HTML)

   Path from public/html/[page].html:
     <link rel="stylesheet" href="../css/variables.css"/>
     <link rel="stylesheet" href="../css/forgot-password.css"/>

   All colors use CSS custom properties from variables.css.
   To change a color: edit variables.css only — not this file.
   ============================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', sans-serif;
  height: 100vh;
  overflow: hidden;
  background: var(--color-navy);
}

.page-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Logo at the top center */
.top-logo {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  z-index: 3;
}

/* White card in the center */
.card {
  position: relative;
  z-index: 3;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Reset icon inside card */
.card-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 16px;
}

.card h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card-subtitle {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Form */
.form-group {
  width: 100%;
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-body);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 12px 12px 36px;
  border: 1.5px solid var(--border-input);
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-input-alt);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.input-wrapper input::placeholder {
  color: var(--text-faint);
  font-weight: 400;
}

.input-wrapper input:focus {
  border-color: var(--color-green-dark);
  background: #ffffff;
}

/* Send Link button - dark navy blue with gradient like in Figma */
.btn-send {
  width: 100%;
  padding: 13px 20px;
  background: var(--gradient-btn-alt);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-bottom: 20px;
}

.btn-send:hover {
  opacity: 0.9;
}

/* Back to Login link */
.back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.back-arrow {
  font-size: 14px;
}
/* ── ADD to forgot-password.css ── */

.fp-error-msg {
    color: #c0392b;
    font-size: 12px;
    font-weight: 600;
    background: #fef2f2;
    border: 1px solid #f5c6c6;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 12px;
    text-align: center;
}

/* =============================================
   RESPONSIVE — see public/css/variables.css for
   the shared breakpoint scale used across all pages.

   .card is fluid (width:100%; max-width:400px) so it
   already scales down, but .page-wrapper has zero
   padding — below 400px viewport width the card hits
   both screen edges with no breathing room, and the
   fixed 100vh + overflow:hidden body could clip content
   in short mobile-landscape viewports.
   ============================================= */

/* ── Mobile: up to 480px ─────────────────────── */
@media (max-width: 480px) {
  body { height: auto; min-height: 100vh; overflow: auto; }

  .page-wrapper { height: auto; min-height: 100vh; padding: 24px 16px; }

  .card { padding: 32px 24px; }
}