/* ── Public Payment Link Page ───────────────────────────── */
body.minimal-body {
    background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.public-pay-wrap {
    width: 100%;
    max-width: 440px;
}

.public-pay-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.public-pay-brand {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.public-pay-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.public-pay-desc {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

.public-pay-amount {
    background: linear-gradient(135deg, #1a56db, #1e40af);
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

/* ── Payment Links (internal) ───────────────────────────── */
.stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.mini-stat {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.mini-val   { font-size: 28px; font-weight: 800; color: #0f172a; }
.mini-label { font-size: 13px; color: #64748b; margin-top: 2px; }

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.link-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}

.link-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.link-inactive   { opacity: .6; }

.link-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 12px;
}

.link-title { font-size: 16px; font-weight: 700; color: #0f172a; }
.link-desc  { font-size: 13px; color: #64748b; margin-top: 2px; }

.link-url-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.link-url-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    color: #475569;
    background: #f8fafc;
    font-family: monospace;
}

.link-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
}

.link-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

/* ── Form Page ──────────────────────────────────────────── */
.form-page { max-width: 700px; margin: 0 auto; }

.radio-group { display: flex; gap: 16px; }
.radio-opt   { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; padding: 8px 14px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f9fafb; }
.radio-opt input { margin: 0; }

.req { color: #dc2626; }
