*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0B1E3A; --blue: #2E9CCA; --blue-l: #E3F2FA;
  --gold: #F5A623; --gold-dark: #E8961E; --turquoise: #1ABC9C;
  --text: #1A202C; --muted: #6B7280; --border: #E2E8F0; --bg: #fafbfc;
  --green: #16A34A; --red: #DC2626;
}
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #F4F7FB; padding: 24px;
}

/* Card */
.card { width: 100%; max-width: 500px; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(11,30,58,.10); }
.card-stripe { height: 4px; background: linear-gradient(90deg, var(--gold), var(--blue), var(--turquoise)); }
.card-body { padding: 48px 44px; }

/* Back link */
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; margin-bottom: 36px; transition: gap .2s, color .2s; }
.back-link:hover { gap: 11px; color: var(--gold-dark); }
.back-link svg { width: 14px; height: 14px; }

/* Icon */
.lock-box { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-l); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.lock-box svg { width: 22px; height: 22px; color: var(--blue); }

/* Titles */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.card-body h1 { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; margin-bottom: 10px; line-height: 1.2; }
.card-body p.sub { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 28px; }

/* Alerts */
.alert { padding: 13px 15px; border-radius: 10px; font-size: 13.5px; line-height: 1.6; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.alert a { color: inherit; font-weight: 600; }
.alert svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.alert-error   { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

/* Field */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.input-wrap { position: relative; }
.input-wrap svg.ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #9AA5B1; pointer-events: none; }
.input-wrap input { width: 100%; padding: 12px 14px 12px 42px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; color: var(--text); background: var(--bg); outline: none; transition: border-color .2s, box-shadow .2s; }
.input-wrap input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(46,156,202,.14); }
.input-wrap input::placeholder { color: #9AA5B1; }
.eye-btn { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--muted); display: flex; align-items: center; padding: 4px; }
.eye-btn:hover { color: var(--gold-dark); }
.eye-btn svg { width: 16px; height: 16px; }

.strength-bar { margin-top: 8px; }
.strength-bar .track { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.strength-bar .fill { height: 100%; border-radius: 4px; width: 0%; transition: width .4s, background .4s; }
.strength-bar .lbl { font-size: 11px; color: var(--muted); margin-top: 4px; font-weight: 600; }

/* Button */
.btn { width: 100%; padding: 13px; background: var(--gold); color: #fff; border: none; border-radius: 8px; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; transition: transform .2s, box-shadow .2s, background .2s; box-shadow: 0 6px 20px rgba(245,166,35,.3); }
.btn:hover { background: var(--gold-dark); transform: translateY(-2px) scale(1.01); box-shadow: 0 12px 32px rgba(245,166,35,.35); }
.btn svg { width: 16px; height: 16px; }

/* Info box */
.info-box { margin-top: 16px; background: var(--blue-l); border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px; display: flex; gap: 10px; align-items: flex-start; }
.info-box svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.info-box p { font-size: 13px; color: var(--text); line-height: 1.6; }

/* Success */
.success-center { text-align: center; padding: 16px 0; }
.check-circle { width: 72px; height: 72px; border-radius: 50%; background: #F0FDF4; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.check-circle svg { width: 30px; height: 30px; color: var(--green); }
.success-center h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.success-center p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 28px; }
.btn-inline { display: inline-flex; width: auto; padding: 12px 28px; text-decoration: none; border-radius: 8px; font-family: inherit; font-size: 14px; font-weight: 700; color: #fff; background: var(--gold); align-items: center; gap: 8px; box-shadow: 0 6px 20px rgba(245,166,35,.3); transition: transform .2s, box-shadow .2s, background .2s; }
.btn-inline:hover { background: var(--gold-dark); transform: translateY(-2px) scale(1.01); box-shadow: 0 12px 32px rgba(245,166,35,.35); }

/* Footer */
.card-footer { background: #fafbfc; border-top: 1px solid var(--border); padding: 14px 44px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.card-footer a { color: var(--turquoise); text-decoration: none; display: flex; align-items: center; gap: 5px; }
.card-footer a:hover { color: var(--gold-dark); }
.card-footer a svg { width: 12px; height: 12px; }

@media(max-width:560px){ .card-body{padding:36px 28px;} .card-footer{padding:14px 28px;} }
