/* ===== Forgot Password Page ===== */

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

:root {
  --paper: #f7f9fb; --surface: #eef1f4; --ink: #071120; --ink-dim: #51606F;
  --border: #d9dbde; --signal: #00c896; --signal-soft: rgba(0,200,150,0.12);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.fp-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 24px;
}

.fp-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 0% 0%, rgba(0,200,150,0.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(7,17,32,0.06) 0%, transparent 50%),
    var(--paper);
}

.fp-accent { position: fixed; border-radius: 50%; pointer-events: none; z-index: -1; }
.fp-accent-top { top: -15%; right: -5%; width: 35vw; height: 35vh; background: var(--signal-soft); filter: blur(100px); }
.fp-accent-bottom { bottom: -15%; left: -5%; width: 40vw; height: 40vh; background: rgba(7,17,32,0.04); filter: blur(120px); }

.fp-container {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1000px;
  width: 100%;
}

/* ===== Brand ===== */

.fp-brand { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.fp-brand-head { display: flex; align-items: center; gap: 16px; }

.fp-brand-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--signal), var(--ink));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px var(--signal-soft);
}

.fp-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 36px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
}

.fp-brand-desc {
  font-size: 16px; color: var(--ink-dim); line-height: 1.6;
  margin-top: 16px; max-width: 400px;
}

/* ===== Card ===== */

.fp-card {
  flex: 1; max-width: 420px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px 32px;
  box-shadow: 0 12px 40px rgba(7,17,32,0.08);
}

.fp-card-header { margin-bottom: 24px; }
.fp-card-header h2 { font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.fp-card-header p { font-size: 14px; color: var(--ink-dim); line-height: 1.5; }

.fp-icon-success {
  width: 64px; height: 64px;
  background: rgba(0,200,150,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--signal);
}

.fp-error {
  background: #fee8e8; color: #c53030;
  font-size: 13px; padding: 10px 14px;
  border-radius: 8px; margin-bottom: 16px;
  text-align: center; display: none;
}
.fp-error.show { display: block; }

.fp-form { display: flex; flex-direction: column; gap: 16px; }

.fp-field { display: flex; flex-direction: column; gap: 6px; }

.fp-field label {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-dim);
}

.fp-input-wrap { position: relative; }

.fp-input-wrap input {
  width: 100%; padding: 12px 40px 12px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit;
  background: var(--paper); color: var(--ink);
  outline: none; transition: border-color 0.2s;
}
.fp-input-wrap input:focus { border-color: var(--ink); }
.fp-input-wrap input::placeholder { color: var(--ink-dim); }

.fp-input-icon {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 18px; color: var(--ink-dim); pointer-events: none;
}

.fp-submit {
  width: 100%; justify-content: center; padding: 13px; font-size: 15px; border-radius: 8px;
  margin-top: 8px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border: none; border-radius: 8px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; text-decoration: none; transition: opacity 0.2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { opacity: 0.88; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.fp-footer-link {
  text-align: center; font-size: 13px; color: var(--ink-dim); margin-top: 24px;
}
.fp-footer-link a { color: var(--signal); font-weight: 600; text-decoration: none; }
.fp-footer-link a:hover { text-decoration: underline; }

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .fp-container { flex-direction: column; gap: 40px; }
  .fp-brand { text-align: center; }
  .fp-brand-head { flex-direction: column; }
  .fp-card { max-width: 100%; width: 100%; }
}

@media (max-width: 480px) {
  .fp-page { padding: 24px 16px; }
  .fp-card { padding: 28px 20px 24px; }
}
