/* ─────────────────────────────────────────────────────────────────────────────
   minimal.css — styles for simple single-purpose pages:
   login.php, 404.php, subscribe-success.php, forgot-password.php, etc.
   Requires site.css to be loaded first.
───────────────────────────────────────────────────────────────────────────── */

/* ── Centered page layout ─────────────────────────────────────────────────── */
.minimal-page {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; padding: 2rem;
    background: var(--paper);
}

/* ── Generic card (subscribe-success, forgot-password, etc.) ─────────────── */
.card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 10px; padding: 3rem 2.5rem;
    max-width: 480px; width: 100%;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.card h1 {
    font-family: var(--ff-head); font-size: 2rem; font-weight: 900;
    margin: 1rem 0 0.5rem;
}
.card p { color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.card-icon { font-size: 3.5rem; }

/* ── Login / auth form card ───────────────────────────────────────────────── */
.login-box {
    background: #fff; border: 1px solid #e8e4df;
    border-radius: 8px; padding: 2rem;
    width: 100%; max-width: 380px;
}
.login-box h1 { font-size: 1.2rem; margin: 0 0 1.5rem; font-weight: 600; }

/* ── Form elements ────────────────────────────────────────────────────────── */
.form-label {
    display: block; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 0.3rem; color: var(--ink);
}
.form-input {
    width: 100%; padding: 0.6rem 0.75rem;
    border: 1px solid #d0ccc7; border-radius: 4px;
    font-size: 1rem; font-family: var(--ff-body);
    margin-bottom: 1rem;
}
.form-input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }

.form-row {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 0.3rem;
}
.form-hint { font-size: 0.78rem; color: var(--muted); }
.form-hint a { color: var(--muted); }
.form-hint a:hover { color: var(--ink); }

/* ── Submit button (full-width variant) ───────────────────────────────────── */
.btn-submit {
    width: 100%; padding: 0.75rem;
    background: var(--ink); color: #fff;
    border: none; border-radius: 4px;
    font-size: 1rem; font-family: var(--ff-body); font-weight: 600;
    cursor: pointer; transition: background 0.15s;
}
.btn-submit:hover { background: #2d2c2b; }

/* ── Alert messages ───────────────────────────────────────────────────────── */
.alert {
    padding: 0.75rem; border-radius: 4px;
    margin-bottom: 1rem; font-size: 0.9rem; line-height: 1.5;
}
.alert-error {
    background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c;
}
.alert-success {
    background: #f0fdf4; border: 1px solid #86efac; color: #15803d;
}
.alert-info {
    background: #eff6ff; border: 1px solid #93c5fd; color: #1d4ed8;
}

/* ── Footer note below card ───────────────────────────────────────────────── */
.card-note {
    font-size: 0.8rem; color: var(--muted);
    text-align: center; margin-top: 1.25rem;
}
.card-note a { color: var(--muted); }
.card-note a:hover { color: var(--ink); }

/* ── 404 page ─────────────────────────────────────────────────────────────── */
.error-404 { text-align: center; }
.error-404 .error-code {
    font-family: var(--ff-head);
    font-size: 5rem; font-weight: 900; letter-spacing: -0.05em;
    color: var(--rust); margin-bottom: 0.25rem; line-height: 1;
}
.error-404 h2 {
    font-family: var(--ff-head); font-size: 1.5rem; margin-bottom: 1rem;
}
.error-404 p { color: var(--muted); margin-bottom: 1.5rem; }
