@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #120201;
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4px;
}

/* ── HERO ── */
.hero { position: relative; width: 100%; min-height: 70vh; display: flex; align-items: center; justify-content: flex-start; overflow: hidden; background: #120201; }
.hero-bg { position: absolute; inset: 0; background-color: #e11e16; }
.hero-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center 20%; mix-blend-mode: darken; opacity: 0.85; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, #120201 0%, rgba(18,2,1,0.95) 10%, rgba(18,2,1,0.5) 40%, rgba(18,2,1,0) 100%); }
.hero-content { position: relative; z-index: 10; width: 100%; padding: 4rem 5% 0.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }

.hero-motto {
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 50px;
  font-weight: 600;
  text-align: center;
  width: 100%;
  margin-top: -5rem;
}

.motto-dot { color: #ffb7b5; }

/* ============================================================
   SHARED SECTION STYLES (Forgot Password + Reset Password)
   ============================================================ */
.forgot-section {
  padding: 1rem 5% 3rem;
  margin-top: -13.5rem;
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.forgot-container {
  max-width: 440px;
  width: 100%;
  text-align: left;
}

.forgot-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.forgot-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* Step indicator */
.forgot-step {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 15px;
  color: #ffb7b5;
  background: rgba(255,183,181,0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-top: 1rem;
}

/* Error / Success messages */
.forgot-error {
  background: rgba(225,30,22,0.15);
  border: 1px solid rgba(225,30,22,0.3);
  color: #e11e16;
  font-size: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}

.forgot-success {
  background: rgba(46,204,113,0.15);
  border: 1px solid rgba(46,204,113,0.3);
  color: #2ecc71;
  font-size: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}

/* Form */
.forgot-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.forgot-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.forgot-field label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.required-asterisk { color: #e11e16; }

.forgot-field input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  padding: 0.7rem 2.5rem 0.7rem 0.8rem;
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
}

.forgot-field input:focus { border-color: #e11e16; }
.forgot-field input::placeholder { color: rgba(255,255,255,0.25); }

/* Password visibility toggle */
.password-wrapper { position: relative; }

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eye-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.toggle-password:hover .eye-icon { opacity: 1; }

/* Button */
.forgot-actions { margin-top: 0.5rem; }

.forgot-btn {
  background: #e11e16;
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.forgot-btn:hover { background: #c41a13; }

/* Bottom prompt / back link */
.forgot-prompt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.forgot-back-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.forgot-back-link:hover { color: #ffb7b5; }

/* Reset password specific styles */
.reset-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.reset-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.reset-field label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.reset-field input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  padding: 0.7rem 2.5rem 0.7rem 0.8rem;
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
}

.reset-field input:focus { border-color: #e11e16; }
.reset-field input::placeholder { color: rgba(255,255,255,0.25); }

.reset-actions { margin-top: 0.5rem; }

.reset-btn {
  background: #e11e16;
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.reset-btn:hover { background: #c41a13; }