/* ===== Checkout / Payment page ===== */
.checkout-wrap { background: #F8FAFC; }

/* Secure top bar */
.checkout-topbar { background: #070300; }

/* Payment method / channel selectable options */
.pay-option {
    position: relative;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .15s ease;
    cursor: pointer;
}
.pay-option:hover { border-color: #FFAA00; }
.pay-option.pay-active {
    border-color: #FFAA00;
    background: #FFF8E1;
    box-shadow: 0 0 0 1px #FFAA00;
}
.pay-option .pay-check {
    display: none;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    background: #FFAA00;
    color: #070300;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 170, 0, .35);
}
.pay-option.pay-active .pay-check { display: flex; }

/* Hidden radio inputs for accessibility */
.pay-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

/* Panels */
.pay-panel { display: none; }
.pay-panel.active { display: block; animation: fadeInUp .35s ease; }

/* Coin option */
.coin-option.pay-active { background: #FFF8E1; border-color: #FFAA00; box-shadow: 0 0 0 1px #FFAA00; }

/* Sticky summary */
.summary-card { position: sticky; top: 6.5rem; }

/* Form inputs */
.pay-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    color: #070300;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pay-input:focus {
    outline: none;
    border-color: #FFAA00;
    box-shadow: 0 0 0 3px rgba(255, 170, 0, .18);
}
.pay-label { font-size: 0.8rem; font-weight: 700; color: #475569; margin-bottom: 0.35rem; display: block; }

/* Faux card preview */
.card-preview {
    background: linear-gradient(135deg, #070300 0%, #1f1500 100%);
    border-radius: 1rem;
    padding: 1.25rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(7, 3, 0, .25);
}
.card-preview::after {
    content: "";
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(255,170,0,.45) 0%, transparent 70%);
}

/* Processing overlay */
.pay-overlay {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(7, 3, 0, .75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center; justify-content: center;
}
.pay-overlay.show { display: flex; }
.spinner {
    width: 46px; height: 46px;
    border: 4px solid rgba(255,255,255,.25);
    border-top-color: #FFAA00;
    border-radius: 9999px;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Country pill selector */
.country-pill {
    transition: all .2s ease;
}
.country-pill.pay-active {
    background: #FFAA00;
    color: #070300;
    box-shadow: 0 6px 16px rgba(255, 170, 0, .3);
}

/* Responsive: stack summary below on small screens */
@media (max-width: 1023px) {
    .summary-card { position: static; }
}
