/* =================================================================
   DONATE V31 — Página /doar/ "Apoie e ganhe seu convite"
   Carrega DEPOIS de auth-pages-v30.css para herdar tokens.
   ================================================================= */

/* ==================== HERO STATS ==================== */
.bs-donate-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 28px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 720px) { .bs-donate-stats { grid-template-columns: repeat(2, 1fr); } }
.bs-donate-stat {
    background: linear-gradient(180deg, rgba(0,195,226,0.08), rgba(0,195,226,0.02));
    border: 1px solid rgba(0,195,226,0.22);
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center;
    transition: transform .25s ease, border-color .25s ease;
}
.bs-donate-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(0,212,255,0.45);
}
.bs-donate-stat-num {
    font-size: 22px;
    font-weight: 900;
    color: #00d4ff;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}
.bs-donate-stat-label {
    font-size: 10.5px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 600;
}

/* ==================== POR QUE APOIAR (4 cards) ==================== */
.bs-donate-why {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 30px 0 50px;
}
@media (max-width: 920px) { .bs-donate-why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .bs-donate-why { grid-template-columns: 1fr; } }
.bs-donate-why-card {
    background: linear-gradient(180deg, rgba(8,17,31,0.6), rgba(4,10,20,0.85));
    border: 1px solid rgba(0,195,226,0.18);
    border-radius: 16px;
    padding: 22px 18px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.bs-donate-why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,212,255,0.45);
    box-shadow: 0 14px 40px rgba(0,195,226,0.15);
}
.bs-donate-why-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00d4ff, #0095c8);
    color: #0a1424;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(0,195,226,0.35);
}
.bs-donate-why-card h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 6px;
}
.bs-donate-why-card p {
    color: rgba(255,255,255,0.62);
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

/* ==================== SECTION TITLE ==================== */
.bs-donate-section-title {
    text-align: center;
    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    margin: 0 0 24px;
    letter-spacing: -0.5px;
}
.bs-donate-section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    margin: 12px auto 0;
    border-radius: 3px;
}

/* ==================== COMO FUNCIONA (3 passos) ==================== */
.bs-donate-how { margin: 50px 0; }
.bs-donate-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    counter-reset: step;
    position: relative;
}
@media (max-width: 720px) { .bs-donate-steps { grid-template-columns: 1fr; } }
.bs-donate-step {
    position: relative;
    background: linear-gradient(180deg, rgba(8,17,31,0.65), rgba(4,10,20,0.85));
    border: 1px solid rgba(0,195,226,0.22);
    border-radius: 18px;
    padding: 28px 22px 22px;
    text-align: left;
    overflow: hidden;
}
.bs-donate-step::before {
    content: "";
    position: absolute;
    top: -1px; left: 22px; right: 22px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.7), transparent);
}
.bs-donate-step-num {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0095c8);
    color: #0a1424;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 22px rgba(0,195,226,0.4);
}
.bs-donate-step h5 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 6px;
    font-weight: 800;
}
.bs-donate-step p {
    color: rgba(255,255,255,0.65);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

/* ==================== GRID PRINCIPAL OVERRIDE ==================== */
.bs-donate-grid { margin: 50px 0 30px; }

/* ==================== BENEFITS LIST (cards do form) ==================== */
.bs-donate-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
}
.bs-donate-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bs-donate-benefit-list li:last-child { border-bottom: 0; }
.bs-donate-benefit-list strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 2px;
    font-weight: 800;
}
.bs-donate-benefit-list span {
    color: rgba(255,255,255,0.62);
    font-size: 12.5px;
    line-height: 1.5;
}
.bs-donate-bullet {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 1px;
}
.bs-donate-bullet.check {
    background: rgba(16,185,129,0.18);
    color: #10b981;
    border: 1px solid rgba(16,185,129,0.4);
}
.bs-donate-bullet.star {
    background: rgba(255,213,74,0.18);
    color: #ffd54a;
    border: 1px solid rgba(255,213,74,0.45);
}

/* ==================== PRICE PILL ==================== */
.bs-donate-price-pill {
    background: linear-gradient(135deg, rgba(0,195,226,0.12), rgba(0,212,255,0.06));
    border: 1.5px solid rgba(0,212,255,0.45);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    margin-top: 8px;
    box-shadow: 0 0 30px rgba(0,195,226,0.15);
}
.bs-donate-price-label {
    color: rgba(0,212,255,0.85);
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 8px;
}
.bs-donate-price-value {
    color: #fff;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}
.bs-donate-price-value .cur {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    font-weight: 700;
}
.bs-donate-price-note {
    color: rgba(255,255,255,0.52);
    font-size: 11.5px;
    margin-top: 8px;
    letter-spacing: 0.4px;
}

/* ==================== FORM CARD — payment options ==================== */
.bs-donate-pay-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bs-donate-pay-options .payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(0,195,226,0.18);
    border-radius: 14px;
    cursor: pointer;
    transition: all .25s ease;
}
.bs-donate-pay-options .payment-option:hover {
    border-color: rgba(0,212,255,0.4);
    background: rgba(255,255,255,0.05);
}
.bs-donate-pay-options .payment-option.selected {
    border-color: #00d4ff;
    background: rgba(0,212,255,0.08);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
}
.bs-donate-pay-options .payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.bs-donate-pay-options .payment-radio {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(0,195,226,0.45);
    background: #0a1424;
    flex-shrink: 0;
    position: relative;
    transition: border-color .2s ease;
}
.bs-donate-pay-options .payment-option.selected .payment-radio {
    border-color: #00d4ff;
}
.bs-donate-pay-options .payment-option.selected .payment-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #00d4ff;
}
.bs-donate-pay-options .payment-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}
.bs-donate-pay-options .payment-icon.pix {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 6px 16px rgba(16,185,129,0.4);
}
.bs-donate-pay-options .payment-icon.card {
    background: linear-gradient(135deg, #00d4ff, #0095c8);
    color: #0a1424;
    box-shadow: 0 6px 16px rgba(0,195,226,0.4);
}
.bs-donate-pay-options .payment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bs-donate-pay-options .payment-info strong {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.bs-donate-pay-options .payment-info span {
    color: rgba(255,255,255,0.55);
    font-size: 11.5px;
    margin-top: 2px;
}
.bs-donate-pay-options .payment-badge {
    background: linear-gradient(135deg, #ffd54a, #ff9800);
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    flex-shrink: 0;
}

/* ==================== FORM ERROR ==================== */
.bs-donate-form-error {
    display: none;
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.35);
    color: #fca5a5;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin: 12px 0;
}
.bs-donate-form-error:not(:empty) { display: block; }

/* ==================== TRUST ROW (sob form) ==================== */
.bs-donate-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.bs-donate-trust-row span {
    color: rgba(255,255,255,0.55);
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}
.bs-donate-trust-row i {
    color: #00d4ff;
    font-size: 11px;
}

/* ==================== TESTIMONIALS ==================== */
.bs-donate-testimonials { margin: 60px 0 40px; }
.bs-donate-test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 920px) { .bs-donate-test-grid { grid-template-columns: 1fr; } }
.bs-donate-test {
    background: linear-gradient(180deg, rgba(8,17,31,0.7), rgba(4,10,20,0.9));
    border: 1px solid rgba(0,195,226,0.18);
    border-radius: 16px;
    padding: 22px 20px;
    transition: border-color .3s ease, transform .3s ease;
}
.bs-donate-test:hover {
    border-color: rgba(0,212,255,0.4);
    transform: translateY(-3px);
}
.bs-donate-test-stars {
    color: #ffd54a;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.bs-donate-test p {
    color: rgba(255,255,255,0.78);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 18px;
    font-style: italic;
}
.bs-donate-test-author {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.bs-donate-test-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bs-donate-test-author strong {
    display: block;
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
}
.bs-donate-test-author span {
    color: rgba(255,255,255,0.5);
    font-size: 11.5px;
}

/* ==================== RESULT CARD (loading/success) ==================== */
.bs-donate-result-card {
    max-width: 620px;
    margin: 30px auto 0;
    background: linear-gradient(180deg, rgba(8,17,31,0.92), rgba(4,10,20,0.95));
    border: 1.5px solid rgba(0,195,226,0.32);
    border-radius: 22px;
    padding: 50px 36px;
    box-shadow: 0 0 60px rgba(0,195,226,0.18);
    text-align: center;
    color: #fff;
}
.bs-donate-result-card .loading-container,
.bs-donate-result-card .success-container {
    display: block;
}
.bs-donate-result-card .spinner {
    width: 52px; height: 52px;
    border: 4px solid rgba(0,195,226,0.18);
    border-top-color: #00d4ff;
    border-radius: 50%;
    margin: 0 auto 22px;
    animation: bsDonateSpin 1s linear infinite;
}
@keyframes bsDonateSpin { to { transform: rotate(360deg); } }
.bs-donate-result-card h2,
.bs-donate-result-card h3 {
    color: #fff;
    font-size: 24px;
    margin: 0 0 12px;
    font-weight: 900;
}
.bs-donate-result-card p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 22px;
}
.bs-donate-result-card .muted { color: rgba(255,255,255,0.45); font-size: 12px; }
.bs-donate-result-card .success-icon {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 12px 36px rgba(16,185,129,0.5);
}
.bs-donate-result-card .success-icon svg {
    width: 38px; height: 38px;
    fill: #fff;
}
.bs-donate-result-card .invite-code-box {
    background: rgba(0,212,255,0.08);
    border: 1.5px dashed rgba(0,212,255,0.45);
    border-radius: 14px;
    padding: 18px;
    margin: 18px 0 22px;
}
.bs-donate-result-card .invite-code-box label {
    display: block;
    color: rgba(0,212,255,0.85);
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 8px;
}
.bs-donate-result-card .invite-code-box code {
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 4px;
    word-break: break-all;
}

/* ==================== PIX MODAL ==================== */
.pix-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2,6,13,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pix-modal.show { display: flex; }
.pix-content {
    background: linear-gradient(180deg, #0c1727, #050a14);
    border: 1.5px solid rgba(0,212,255,0.4);
    border-radius: 22px;
    padding: 32px 28px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    color: #fff;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}
.pix-close {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,0.08);
    border: 0;
    color: #fff;
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}
.pix-close:hover { background: rgba(255,255,255,0.15); }
.pix-header-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 14px;
    box-shadow: 0 10px 28px rgba(16,185,129,0.4);
}
.pix-content h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.pix-content > p { color: rgba(255,255,255,0.65); font-size: 13px; margin: 0 0 18px; }
.pix-qr {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    margin: 0 auto 16px;
    max-width: 220px;
}
.pix-qr img { width: 100%; height: auto; display: block; }
.pix-code-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,195,226,0.22);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}
.pix-code-box small {
    color: rgba(0,212,255,0.85);
    font-size: 10.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}
.pix-code-box code {
    color: #fff;
    font-family: ui-monospace, monospace;
    font-size: 11px;
    word-break: break-all;
    line-height: 1.4;
    display: block;
}
.pix-copy-btn {
    width: 100%;
    background: linear-gradient(135deg, #00d4ff, #0095c8);
    color: #0a1424;
    border: 0;
    padding: 12px;
    border-radius: 11px;
    font-weight: 800;
    cursor: pointer;
    font-size: 13.5px;
    transition: all .2s ease;
}
.pix-copy-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,195,226,0.35); }
.pix-timer { font-size: 12px; color: rgba(255,255,255,0.6); margin: 14px 0 8px; }
.pix-timer strong { color: #ffd54a; font-weight: 800; }
.pix-checking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11.5px;
    color: rgba(255,255,255,0.55);
    margin-top: 8px;
}
.mini-spinner {
    width: 12px; height: 12px;
    border: 2px solid rgba(255,255,255,0.18);
    border-top-color: #00d4ff;
    border-radius: 50%;
    animation: bsDonateSpin .9s linear infinite;
}

/* ==================== MOBILE TWEAKS ==================== */
@media (max-width: 720px) {
    .bs-donate-stats { gap: 10px; margin-top: 22px; }
    .bs-donate-stat { padding: 10px 6px; }
    .bs-donate-stat-num { font-size: 18px; }
    .bs-donate-stat-label { font-size: 9.5px; letter-spacing: 1px; }
    .bs-donate-why { gap: 10px; margin: 24px 0 36px; }
    .bs-donate-why-card { padding: 18px 14px; }
    .bs-donate-section-title { font-size: 22px; }
    .bs-donate-steps { gap: 10px; }
    .bs-donate-step { padding: 22px 18px 18px; }
    .bs-donate-grid { margin: 36px 0 24px; }
    .bs-donate-price-value { font-size: 36px; }
    .bs-donate-test { padding: 18px 16px; }
    .bs-donate-trust-row { gap: 8px; }
    .bs-donate-trust-row span { font-size: 10.5px; }
}
