/* ============================================================
   DASHBOARD — Top-up · Subscription · Payment results
   Hospital Neon Dark
   ============================================================ */

/* ===== Page shells ===== */
.dash-page,
.top-page,
.sub-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 20px 80px;
    position: relative;
    z-index: 1;
}

.top-page {
    max-width: 520px;
}

.dash-header,
.top-header {
    text-align: center;
    margin-bottom: 32px;
}

.dash-header h2,
.top-header h2 {
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-weight: 800;
    font-size: 1.65rem;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 30%, #fca5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dash-header p,
.top-header p {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.85rem;
    margin: 0;
}

/* ===== Glass cards ===== */
.dash-card,
.bal-card,
.pay-card,
.sub-page .card,
.hwid-card {
    background: rgba(14, 14, 22, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 28px 24px;
    margin-bottom: 18px;
    transition: border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-card:hover,
.sub-page .card:hover {
    border-color: rgba(239, 68, 68, 0.18);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.08);
}

.bal-card {
    text-align: center;
    background: linear-gradient(145deg, rgba(20, 20, 36, 0.85), rgba(26, 14, 30, 0.75));
    border-color: rgba(239, 68, 68, 0.15);
    box-shadow: 0 0 50px rgba(239, 68, 68, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bal-amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin: 8px 0 4px;
    font-family: var(--font-display, 'Montserrat', sans-serif);
}

.bal-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* ===== Top-up payment ===== */
.pay-card h3 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pay-card h3 i {
    color: #fca5a5;
}

.pay-label {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.65rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.pay-method {
    flex: 1;
    padding: 16px 12px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    font-size: 0.82rem;
    font-family: var(--font-display, 'Montserrat', sans-serif);
}

.pay-method:hover {
    border-color: rgba(239, 68, 68, 0.35);
    color: #fff;
    background: rgba(239, 68, 68, 0.06);
}

.pay-method.active {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    color: #e9d5ff;
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.15);
}

.pay-method .fee {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 4px;
    font-weight: 400;
}

.quick-amounts {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.quick-amount {
    flex: 1;
    min-width: 64px;
    padding: 11px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
    font-family: var(--font-display, 'Montserrat', sans-serif);
}

.quick-amount:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: #fff;
}

.quick-amount.active {
    background: rgba(239, 68, 68, 0.14);
    border-color: #ef4444;
    color: #e9d5ff;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.total-label {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.78rem;
}

.total-value {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.total-value.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
}

.pay-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, #450a0a 0%, #991b1b 55%, #dc2626 100%);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.28);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
    font-family: var(--font-display, 'Montserrat', sans-serif);
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(239, 68, 68, 0.38);
    filter: brightness(1.05);
}

.pay-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.pay-disabled {
    padding: 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
}

/* ===== History table ===== */
.history-table {
    background: rgba(14, 14, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    margin-top: 28px;
}

.history-table table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th {
    text-align: left;
    padding: 12px 18px;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.28);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(239, 68, 68, 0.04);
}

.history-table td {
    padding: 10px 18px;
    font-size: 0.78rem;
    color: #c5c8d4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.history-table tr:last-child td {
    border-bottom: none;
}

.tx-plus { color: #86efac; font-weight: 700; }
.tx-minus { color: #fca5a5; font-weight: 700; }

/* ===== Subscription page ===== */
.row-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.flex-l {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.lbl {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    font-weight: 600;
}

.val {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    font-family: var(--font-display, 'Montserrat', sans-serif);
}

.val span {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.2);
}

.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.25);
}

.btn-red:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(220, 38, 38, 0.35);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-family: var(--font-body, 'Inter', sans-serif);
    transition: all 0.25s;
}

.btn-ghost:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    color: #e9d5ff;
}

.btn-topup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #b91c1c, #ef4444);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(239, 68, 68, 0.3);
}

.btn-topup:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.4);
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.chip {
    padding: 7px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-body, 'Inter', sans-serif);
    transition: all 0.2s;
}

.chip:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fff;
}

.promo {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.promo input {
    flex: 1;
    min-width: 100px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 0.78rem;
    outline: none;
    transition: border-color 0.25s;
}

.promo input:focus {
    border-color: rgba(239, 68, 68, 0.4);
}

.promo input::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

@media (max-width: 560px) {
    .promo-grid { grid-template-columns: 1fr; }
}

.sub-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.sub-h-l {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-h-l .label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot.on {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.dot.off {
    background: rgba(255, 255, 255, 0.1);
}

.sub-badge,
.sub-page .badge {
    display: inline-flex;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
}

.sub-badge.on,
.sub-page .badge.on {
    background: linear-gradient(135deg, #059669, #22c55e);
    color: #fff;
}

.sub-badge.off,
.sub-page .badge.off {
    background: rgba(107, 114, 128, 0.15);
    color: #6b7280;
}

.timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
}

.timer-item { text-align: center; }

.timer-num {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.timer-lbl {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.timer-sep {
    font-size: 1.3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.12);
    margin: 0 2px;
    padding-top: 6px;
}

.bar { margin-bottom: 12px; }

.bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill-green { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #16a34a, #22c55e); }
.bar-fill-yellow { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ca8a04, #eab308); }
.bar-fill-red { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #dc2626, #ef4444); }

.bar-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 6px;
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.actions .btn-red,
.actions .btn-ghost {
    padding: 12px 22px;
    font-size: 0.8rem;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

/* ===== Pricing cards ===== */
.plan-hdr {
    text-align: center;
    margin: 40px 0 28px;
}

.plan-hdr h2 {
    font-weight: 800;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    color: #fff;
    margin: 0;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    letter-spacing: -0.02em;
}

.plan-hdr-sub {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.84rem;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 900px) {
    .plan-grid { grid-template-columns: 1fr; max-width: 420px; }
}

.pcard {
    background: linear-gradient(160deg, rgba(28, 14, 14, 0.98) 0%, rgba(16, 10, 10, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 28px 22px 22px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s,
        box-shadow 0.35s;
    overflow: hidden;
}

.pcard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139, 64, 64, 0.14), transparent 55%);
    pointer-events: none;
}

.pcard:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 120, 120, 0.35);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.45),
        0 0 32px rgba(139, 64, 64, 0.1);
}

.pcard.hot {
    border-color: rgba(201, 120, 120, 0.45);
    box-shadow:
        0 0 0 1px rgba(139, 64, 64, 0.2),
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 0 36px rgba(139, 64, 64, 0.14);
}

.pcard.hot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c97878, #8b4040, transparent);
}

.ph-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(139, 64, 64, 0.35);
    border: 1px solid rgba(232, 180, 180, 0.35);
    color: #ffd4d4;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
    z-index: 2;
}

.pcard-duration {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.pcard-days {
    display: block;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
}

.pcard-days-label {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pprice {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin: 0 0 6px;
    font-family: var(--font-display, 'Montserrat', sans-serif);
}

.pprice span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
}

.pcard-perday {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 18px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 600;
}

.pcard-perks {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    text-align: left;
    flex: 1;
}

.pcard-perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pcard-perks li:last-child {
    border-bottom: none;
}

.pcard-perks li i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #c97878;
    font-size: 0.65rem;
}

.pcard form {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.pbtn {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
    letter-spacing: 0.3px;
}

.pbtn.plain {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pbtn.plain:hover {
    background: rgba(139, 64, 64, 0.2);
    border-color: rgba(201, 120, 120, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.pbtn.hot {
    background: linear-gradient(135deg, #3d1515 0%, #6b2828 45%, #8b4040 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(139, 64, 64, 0.35);
}

.pbtn.hot:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 64, 64, 0.45);
    filter: brightness(1.06);
}

/* ===== HWID block ===== */
.hwid-title {
    font-weight: 700;
    color: #f87171;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.hwid-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.hwid-status { margin-bottom: 4px; font-size: 0.85rem; }

.hwid-meta {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 4px;
}

.hwid-cost { text-align: center; padding: 0 16px; }

.hwid-cost-lbl {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.hwid-cost-val {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ef4444, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ref-hint {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    margin: 6px 0 0;
}

/* ===== Payment result pages ===== */
.pay-result {
    max-width: 480px;
    margin: 48px auto;
    padding: 40px 28px;
    text-align: center;
    background: rgba(14, 14, 22, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    position: relative;
    z-index: 1;
}

.pay-result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.pay-result-icon.success {
    background: rgba(34, 197, 94, 0.12);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.15);
}

.pay-result-icon.fail {
    background: rgba(239, 68, 68, 0.12);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.15);
}

.pay-result h2 {
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: var(--font-display, 'Montserrat', sans-serif);
}

.pay-result p {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.88rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.pay-balance {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #86efac, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 16px 0;
    font-family: var(--font-display, 'Montserrat', sans-serif);
}

.pay-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.pay-actions a {
    padding: 13px 22px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
    font-family: var(--font-display, 'Montserrat', sans-serif);
}

.btn-sub-action {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    box-shadow: 0 6px 24px rgba(239, 68, 68, 0.3);
}

.btn-sub-action:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 10px 32px rgba(239, 68, 68, 0.4);
}

.btn-top-action,
.btn-retry {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-top-action:hover,
.btn-retry:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #e9d5ff;
}

.pay-spinner {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pay-spinner::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(239, 68, 68, 0.2);
    border-top-color: #ef4444;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
