/* ── Page ─────────────────────────────────────────────── */
body {
    min-height: 100vh;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
}

body::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 15% 25%, rgba(22,192,239,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 55% 55% at 85% 75%, rgba(8,135,170,0.05) 0%, transparent 60%);
    pointer-events: none; z-index: 0;
}

/* ── Outer wrapper ─────────────────────────────────────── */
.fp-outer {
    position: relative; z-index: 1;
    width: 100%; max-width: 420px;
    display: flex; flex-direction: column;
    align-items: center; gap: 1.25rem;
}

/* ── Logo ──────────────────────────────────────────────── */
.fp-logo .logo-placeholder {
    height: 44px; width: 140px;
    background: rgba(22,192,239,0.1);
    border: 1.5px dashed var(--cyan);
    font-size: 11.5px; font-weight: 700;
    color: var(--cyan-deep);
}

/* ── Card ──────────────────────────────────────────────── */
.fp-card {
    width: 100%;
    background: var(--card);
    border-radius: var(--r);
    border: 1px solid var(--border2);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

.fp-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
}

/* ── Card states ───────────────────────────────────────── */
.fp-view { padding: 2rem 1.75rem 1.75rem; }
.fp-view.hidden { display: none; }

/* ── Icon circle ───────────────────────────────────────── */
.fp-icon-circle {
    width: 62px; height: 62px; border-radius: 50%;
    background: rgba(22,192,239,0.1);
    border: 2px solid rgba(22,192,239,0.25);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
}

.fp-icon-circle svg {
    width: 28px; height: 28px;
    stroke: var(--cyan-dark); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ── Heading ───────────────────────────────────────────── */
.fp-title {
    font-size: 20px; font-weight: 700;
    color: var(--text); text-align: center; margin-bottom: 0.4rem;
}

.fp-sub {
    font-size: 13.5px; color: var(--text3);
    text-align: center; line-height: 1.55; margin-bottom: 1.5rem;
}

/* ── Success icon ──────────────────────────────────────── */
.fp-success-icon {
    width: 66px; height: 66px; border-radius: 50%;
    background: rgba(5,150,105,0.1); border: 2.5px solid var(--success);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    animation: popIn 0.4s cubic-bezier(0.22,1,0.36,1);
}

.fp-success-icon svg {
    width: 30px; height: 30px; stroke: var(--success); fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ── Sent-to chip ──────────────────────────────────────── */
.fp-sent-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--cyan-lite); color: var(--cyan-deep);
    border: 1px solid rgba(22,192,239,0.3);
    padding: 5px 12px; border-radius: 20px;
    font-size: 13px; font-weight: 600; margin-bottom: 1.25rem;
}

/* ── Expiry note ───────────────────────────────────────── */
.fp-expiry {
    font-size: 12px; color: var(--text3);
    text-align: center; margin-bottom: 1.5rem;
}

/* ── Back link ─────────────────────────────────────────── */
.fp-back-row {
    text-align: center; margin-top: 1.1rem;
    font-size: 13.5px; color: var(--text3);
}

.fp-back-row a { color: var(--cyan-dark); font-weight: 600; text-decoration: none; }
.fp-back-row a:hover { text-decoration: underline; }

/* ── Bottom link ───────────────────────────────────────── */
.fp-bottom {
    font-size: 14px; color: var(--text3); text-align: center;
    padding: 0.25rem 0;
}

.fp-bottom a { color: var(--cyan-dark); font-weight: 600; text-decoration: none; }
.fp-bottom a:hover { text-decoration: underline; }

/* ── Mobile ────────────────────────────────────────────── */
@media (max-width: 480px) {
    body { padding: 1rem 0.75rem 2rem; justify-content: flex-start; padding-top: 2rem; }
    .fp-view { padding: 1.75rem 1.25rem 1.5rem; }
}
