/* ============================================================
   CanAction — Founding Breeder Program CSS
   ============================================================ */

.ca-fb-root {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 640px;
    margin: 0 auto;
    color: #1e293b;
}
.ca-fb-login-notice { text-align:center; padding:20px; font-size:14px; }

/* ── CONGRATULATIONS HERO ── */
.ca-fb-congrats {
    text-align: center;
    padding: 40px 20px 20px;
}
.ca-fb-confetti {
    font-size: 56px;
    margin-bottom: 14px;
    animation: ca-fb-bounce .6s ease-out;
}
@keyframes ca-fb-bounce {
    0%   { transform: scale(0) rotate(-15deg); opacity:0; }
    60%  { transform: scale(1.18) rotate(5deg); opacity:1; }
    100% { transform: scale(1) rotate(0); }
}
.ca-fb-headline {
    font-size: 34px;
    font-weight: 900;
    background: linear-gradient(135deg, #1e3a8a, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px;
    line-height: 1.15;
}
.ca-fb-sub {
    font-size: 16px;
    color: #475569;
    margin: 0 0 20px;
}

/* ── MAIN CARD ── */
.ca-fb-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    margin-bottom: 24px;
}

/* Intro text */
.ca-fb-intro { margin-bottom: 24px; }
.ca-fb-intro p { font-size: 15px; color: #475569; line-height: 1.65; margin: 0 0 12px; }
.ca-fb-intro p:last-child { margin-bottom: 0; }

/* Next step notice */
.ca-fb-next-step-notice {
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
}
.ca-fb-step-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.ca-fb-next-step-notice p { font-size: 14px; color: #1e40af; line-height: 1.6; margin: 0; }

/* Benefits */
.ca-fb-benefits-head {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}
.ca-fb-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ca-fb-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #374151;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    line-height: 1.4;
}
.ca-fb-check { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* Email notice */
.ca-fb-email-notice {
    background: #fef9c3;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13px;
    color: #713f12;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Spots progress bar */
.ca-fb-spots-bar-wrap { margin-bottom: 28px; }
.ca-fb-spots-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
}
.ca-fb-spots-label strong { color: #1e293b; }
.ca-fb-spots-track {
    height: 10px;
    background: #e8ecf0;
    border-radius: 99px;
    overflow: hidden;
}
.ca-fb-spots-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 99px;
    transition: width 1s ease;
}

/* CTA Button */
.ca-fb-cta-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #7c3aed 100%);
    color: #fff;
    text-align: center;
    padding: 17px 20px;
    border-radius: 13px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity .15s, transform .12s;
    box-shadow: 0 4px 18px rgba(37,99,235,.3);
    letter-spacing: .01em;
    box-sizing: border-box;
}
.ca-fb-cta-btn:hover {
    opacity: .92;
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37,99,235,.35);
}
.ca-fb-cta-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* ── STEP 2: RESERVE ── */
.ca-fb-reserve-hero {
    text-align: center;
    margin-bottom: 20px;
}
.ca-fb-reserve-hero h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px;
}
.ca-fb-reserve-intro {
    font-size: 15px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}
.ca-fb-reserve-body {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* No charge banner */
.ca-fb-no-charge-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
}
.ca-fb-no-charge-icon { font-size: 22px; flex-shrink: 0; }
.ca-fb-no-charge-banner strong { display: block; font-size: 15px; color: #15803d; margin-bottom: 3px; }
.ca-fb-no-charge-banner span  { font-size: 13px; color: #166534; line-height: 1.5; }

/* Approval conditions checklist */
.ca-fb-approval-conditions {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ca-fb-approval-conditions li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #374151;
    font-weight: 500;
}
.ca-fb-approval-conditions .ca-fb-check {
    color: #16a34a;
    font-weight: 800;
}

/* Mini benefits */
.ca-fb-mini-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
}
.ca-fb-mini-b {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 12px;
}
.ca-fb-mini-b span { font-size: 14px; }

/* Payment section */
.ca-fb-payment-section { margin-bottom: 24px; }
.ca-fb-payment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}
.ca-fb-secure-badge {
    font-size: 12px;
    font-weight: 500;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 3px 10px;
}
.ca-fb-payment-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}
.ca-fb-card-input {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fff;
    margin-bottom: 16px;
    transition: border-color .15s;
    min-height: 48px;
}
.ca-fb-card-input.StripeElement--focus { border-color: #2563eb; }
.ca-fb-card-errors {
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 18px;
}
.ca-fb-no-stripe-notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 16px;
}

/* Legal */
.ca-fb-legal {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.6;
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

/* Full / reserved */
.ca-fb-full, .ca-fb-reserved-confirm {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.ca-fb-full h2, .ca-fb-reserved-confirm h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
}
.ca-fb-full p, .ca-fb-reserved-confirm p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.6;
}
.ca-fb-full .ca-fb-cta-btn, .ca-fb-reserved-confirm .ca-fb-cta-btn {
    display: inline-block;
    width: auto;
    padding: 13px 28px;
    font-size: 15px;
}

/* Status widget */
.ca-fb-status-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
}
.ca-fb-sw-label { font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 8px; }
.ca-fb-sw-bar-wrap { height: 8px; background: #e8ecf0; border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.ca-fb-sw-bar { height: 100%; background: linear-gradient(90deg,#2563eb,#7c3aed); border-radius: 99px; }
.ca-fb-sw-numbers { display: flex; justify-content: space-between; font-size: 12px; color: #64748b; }
.ca-fb-sw-numbers strong { color: #1e293b; }

/* Founding badge (inline) */
.ca-founding-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #fcd34d;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

/* Responsive */
@media (max-width: 520px) {
    .ca-fb-card { padding: 22px 18px; }
    .ca-fb-headline { font-size: 26px; }
    .ca-fb-mini-benefits { grid-template-columns: 1fr; }
    .ca-fb-cta-btn { font-size: 15px; padding: 14px; }
}
