/* Illumination Ministries — Payment Form Styles */

/* ── Section wrapper ──────────────────────────────────────── */
.illum-payment-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--cream, #FDF8EE);
}

/* ── Payment Card ─────────────────────────────────────────── */
.illum-payment-card {
    max-width: 620px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: clamp(28px, 5vw, 48px);
    box-shadow: 0 8px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.12);
}

/* ── Header ───────────────────────────────────────────────── */
.illum-payment-header {
    text-align: center;
    margin-bottom: 32px;
}
.illum-payment-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.illum-payment-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #0A0E1A;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.2;
}
.illum-payment-sub {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* ── Form sections ────────────────────────────────────────── */
.illum-pf-section {
    margin-bottom: 24px;
}
.illum-pf-label {
    display: block;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 10px;
    font-weight: 700;
}
.illum-pf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.illum-pf-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #1a1a2e;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    outline: none;
}
.illum-pf-input:focus {
    border-color: #C9A84C;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.illum-pf-input::placeholder { color: #bbb; }

/* ── Amount buttons ───────────────────────────────────────── */
.illum-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.illum-amount-btn {
    padding: 12px 8px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.04em;
}
.illum-amount-btn:hover {
    border-color: #C9A84C;
    background: rgba(201, 168, 76, 0.06);
    color: #0A0E1A;
}
.illum-amount-btn.selected {
    border-color: #C9A84C;
    background: linear-gradient(135deg, #C9A84C, #E8C96A);
    color: #0A0E1A;
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}
.illum-custom-amount { margin-top: 4px; }
.illum-amount-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.illum-currency-symbol {
    position: absolute;
    left: 14px;
    font-size: 14px;
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}
.illum-amount-input {
    padding-left: 28px !important;
}

/* ── Tier cards (Partner form) ────────────────────────────── */
.illum-tier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.illum-tier {
    position: relative;
    padding: 16px 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.illum-tier:hover {
    border-color: rgba(201, 168, 76, 0.4);
    background: rgba(201, 168, 76, 0.06);
}
.illum-tier.selected {
    border-color: #C9A84C;
    background: rgba(201, 168, 76, 0.1);
    box-shadow: 0 0 0 1px #C9A84C;
}
.illum-tier-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #C9A84C, #E8C96A);
    color: #0A0E1A;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.illum-tier-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.illum-tier-amount {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #C9A84C;
    margin-bottom: 4px;
}
.illum-tier-desc {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.4;
}

/* ── Stripe Card Element ──────────────────────────────────── */
.illum-card-element {
    padding: 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.illum-card-element--dark {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}
.illum-card-element:focus-within {
    border-color: #C9A84C;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.illum-card-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    min-height: 20px;
    display: none;
}

/* ── Recurring checkbox ───────────────────────────────────── */
.illum-recurring {
    padding: 14px 16px;
    background: rgba(201, 168, 76, 0.06);
    border: 1px dashed rgba(201, 168, 76, 0.3);
    border-radius: 10px;
}
.illum-recurring-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.illum-recurring-check { width: 18px; height: 18px; cursor: pointer; accent-color: #C9A84C; }
.illum-recurring-text { font-size: 13px; color: #374151; font-weight: 600; }

/* ── Submit button ────────────────────────────────────────── */
.illum-pay-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #C9A84C, #E8C96A);
    color: #0A0E1A;
    border: none;
    border-radius: 12px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
    margin-top: 8px;
}
.illum-pay-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
}
.illum-pay-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ── Secure note ──────────────────────────────────────────── */
.illum-secure-note {
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 12px;
    margin-bottom: 0;
}

/* ── Success state ────────────────────────────────────────── */
.illum-success {
    text-align: center;
    padding: 20px;
}
.illum-success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.35);
}
.illum-success-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    color: #0A0E1A;
    margin-bottom: 12px;
}
.illum-success--dark .illum-success-title { color: #E8C96A; }
.illum-success-msg {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto 8px;
}
.illum-success-email {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ── Mobile responsive ────────────────────────────────────── */
@media (max-width: 640px) {
    .illum-pf-row { grid-template-columns: 1fr; }
    .illum-amount-grid { grid-template-columns: repeat(2, 1fr); }
    .illum-tier-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .illum-tier-grid { grid-template-columns: 1fr; }
}

/* ── Give page mobile fixes ─────────────────────────────────── */
@media (max-width: 640px) {
    .illum-payment-section { padding: 40px 0; }
    .illum-payment-card { padding: 20px 16px; border-radius: 14px; }
    .illum-amount-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .illum-amount-btn { padding: 10px 4px; font-size: .78rem; }
    .illum-pf-row { grid-template-columns: 1fr; gap: 10px; }
    .illum-pf-input { padding: 10px 11px !important; font-size: 13px !important; }
    .illum-payment-title { font-size: 1.4rem; }
    .illum-payment-sub { font-size: .82rem; }
    .illum-pay-btn { padding: 14px; font-size: .75rem; }
    /* Zelle grid — single column on mobile */
    .illum-zelle-grid { grid-template-columns: 1fr !important; }
    /* Partner tiers — single column */
    .illum-tier-grid { grid-template-columns: 1fr !important; gap: 10px; }
    .illum-tier { padding: 14px 12px; }
}

@media (max-width: 400px) {
    .illum-amount-grid { grid-template-columns: repeat(2, 1fr); }
    .illum-payment-card { padding: 16px 12px; }
}

/* ── Frequency selector ──────────────────────────────────── */
.illum-freq-label {
    font-size:.68rem;text-transform:uppercase;letter-spacing:.12em;
    color:#888;margin-bottom:.6rem;font-weight:600;
}
.illum-freq-grid {
    display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;
}
.illum-freq-btn {
    padding:.55rem .3rem;border-radius:8px;border:1px solid #e5e7eb;
    background:#f9fafb;font-size:.75rem;font-weight:600;color:#555;
    text-align:center;cursor:pointer;transition:all .2s;
    display:flex;align-items:center;justify-content:center;
}
.illum-freq-btn:hover { border-color:#C9A84C;color:#8B6914; }
.illum-freq-btn.active { background:#C9A84C;color:#0A0E1A;border-color:#C9A84C;font-weight:700; }
@media(max-width:480px){
    .illum-freq-grid { grid-template-columns:repeat(2,1fr); }
}
