/* ============================================================
   RomIQ Solutions — Renew Services Page
   File: static/css/pages/renew.css
   ============================================================ */

/* ── HERO ── */
.renew-hero {
    padding: 160px 52px 80px;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.renew-hero::before {
    content: 'RENEW';
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18vw;
    color: rgba(255, 255, 255, 0.015);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* ── BODY SECTION ── */
.renew-body {
    padding: 80px 52px 120px;
    position: relative;
    z-index: 1;
}

.renew-container {
    max-width: 860px;
    margin: 0 auto;
}

/* ── STEP INDICATOR ── */
.renew-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 64px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.35;
    transition: opacity 0.3s;
}

.step-item.active { opacity: 1; }
.step-item.done { opacity: 0.7; }

.step-num {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 4px 9px;
    border-radius: 2px;
    transition: background 0.3s, border-color 0.3s;
}

.step-item.active .step-num {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.step-item.done .step-num {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

.step-lbl {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    font-weight: 500;
}

.step-line {
    flex: 1;
    height: 1px;
    background: var(--border);
    margin: 0 16px;
    position: relative;
    overflow: hidden;
}

.step-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--cyan);
    transition: left 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}

.step-line.active::after { left: 0; }

/* ── STEP PANELS ── */
.renew-step-panel { transition: opacity 0.35s; }
.renew-step-panel.hidden { display: none; }

/* ── STEP 1 CARD ── */
.renew-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 52px 56px;
    position: relative;
    overflow: hidden;
}

.renew-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--violet2));
}

.renew-card-top {
    margin-bottom: 40px;
    text-align: center;
}

.renew-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
}

.renew-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.08);
}

.renew-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 10px;
}

.renew-card-sub {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto;
}

/* ── FORM GROUP ── */
.renew-form-group {
    margin-bottom: 32px;
}

.renew-label {
    display: block;
    margin-bottom: 10px;
}

.label-tag {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
}

.renew-input-wrap {
    display: flex;
    align-items: center;
    background: var(--surface2);
    border: 1px solid var(--border);
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.renew-input-wrap:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08), 0 0 20px rgba(0, 229, 255, 0.06);
}

.input-prefix {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.8rem;
    color: var(--cyan);
    padding: 0 16px;
    border-right: 1px solid var(--border);
    height: 52px;
    display: flex;
    align-items: center;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}

.renew-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 18px;
    height: 52px;
    font-family: 'Chivo Mono', monospace;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: var(--text);
    width: 100%;
}

.renew-input::placeholder {
    color: rgba(236, 233, 248, 0.2);
    letter-spacing: 0.04em;
}

.renew-error {
    margin-top: 8px;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: #ef4444;
    min-height: 18px;
    transition: opacity 0.2s;
}

/* ── CTA BUTTON ── */
.renew-cta {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 0.82rem;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.renew-cta:hover .btn-arrow { transform: translateX(4px); }

/* ── LOADING ── */
.renew-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.loading-dots {
    display: flex;
    gap: 5px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    animation: dot-bounce 1.2s ease-in-out infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.loading-text {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--muted);
}

/* ── STEP 2 — CLIENT BANNER ── */
.renew-client-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.15);
    padding: 20px 28px;
    margin-bottom: 56px;
    gap: 16px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--cyan), var(--violet2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: #000;
    flex-shrink: 0;
}

.client-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.client-meta {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-top: 3px;
}

.change-num-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: 'Chivo Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 14px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    flex-shrink: 0;
    cursor: none;
}

.change-num-btn:hover {
    color: var(--cyan);
    border-color: rgba(0, 229, 255, 0.3);
}

/* ── SERVICES HEADER ── */
.services-header {
    margin-bottom: 36px;
}

.services-h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--text);
    margin: 10px 0 14px;
}

.services-sub {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 480px;
}

/* ── SERVICES GRID ── */
.renew-services-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 36px;
}

.svc-renew-row {
    display: grid;
    grid-template-columns: 44px 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
    user-select: none;
}

.svc-renew-row::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: rgba(0, 229, 255, 0.04);
    transition: width 0.4s cubic-bezier(0.77, 0, 0.18, 1);
    z-index: 0;
}

.svc-renew-row:hover { border-color: rgba(0, 229, 255, 0.2); }
.svc-renew-row:hover::before { width: 100%; }
.svc-renew-row > * { position: relative; z-index: 1; }

.svc-renew-row.selected {
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(0, 229, 255, 0.04);
}

.svc-renew-row.selected::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--cyan);
}

/* Checkbox */
.svc-checkbox {
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--border);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.svc-renew-row.selected .svc-checkbox {
    border-color: var(--cyan);
    background: var(--cyan);
}

.svc-check-mark {
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s, transform 0.2s;
}

.svc-renew-row.selected .svc-check-mark {
    opacity: 1;
    transform: scale(1);
}

/* Service info */
.svc-renew-info {}

.svc-renew-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    transition: color 0.2s;
}

.svc-renew-row.selected .svc-renew-name { color: var(--cyan); }

.svc-renew-meta {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.07em;
    color: var(--muted);
    display: flex;
    gap: 14px;
}

/* Status badge */
.svc-status-badge {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.badge-active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-expiring {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-expired {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Price */
.svc-renew-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    color: var(--cyan);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── EMPTY STATE ── */
.renew-empty {
    text-align: center;
    padding: 64px 24px;
}

.empty-icon-wrap {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

.renew-empty p {
    color: var(--muted);
    font-size: 0.88rem;
}

/* ── ACTIONS ── */
.renew-actions {
    padding-top: 8px;
}

.selection-hint {
    text-align: center;
    margin-top: 14px;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
}

/* Disabled state */
.btn-primary:disabled,
.renew-cta:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── STEP 3 — CONFIRM ── */
.confirm-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 64px;
    align-items: start;
}

.confirm-main .section-tag { margin-bottom: 12px; }

.confirm-h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--text);
    margin-bottom: 32px;
}

.confirm-client-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.conf-label {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.conf-val {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.confirm-services-list {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.confirm-svc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--surface2);
    border: 1px solid var(--border);
}

.confirm-svc-name {
    font-size: 0.88rem;
    color: var(--text);
}

.confirm-svc-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    color: var(--cyan);
}

.confirm-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.confirm-total-amt {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    color: var(--cyan);
}

.confirm-note {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.75;
    font-style: italic;
}

.confirm-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: sticky;
    top: 100px;
}

/* ── SUCCESS ── */
.success-wrap {
    text-align: center;
    padding: 60px 24px;
}

.success-ring {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.08);
    border: 2px solid rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: success-pulse 2s ease-in-out infinite;
}

@keyframes success-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 0 0 16px rgba(34, 197, 94, 0); }
}

.success-icon {
    font-size: 2.8rem;
    color: #22c55e;
    line-height: 1;
}

.success-h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 16px;
}

.success-sub {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 420px;
    margin: 0 auto 24px;
}

.success-ref {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 36px;
}

.success-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .renew-hero { padding: 120px 24px 60px; }
    .renew-body { padding: 60px 24px 80px; }

    .renew-card {
        padding: 36px 24px;
    }

    .confirm-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .confirm-sidebar {
        position: static;

        flex-direction: row;
        flex-wrap: wrap;
    }

    .cs-meta-card { flex: 1 1 120px; }
    .cs-sidebar-cta, .cs-back-link { flex: 1 1 100%; }
}

@media (max-width: 600px) {
    .renew-steps { gap: 0; }
    .step-lbl { display: none; }
    .confirm-sidebar { flex-direction: column; }

    .svc-renew-row {
        grid-template-columns: 32px 1fr auto;
        gap: 12px;
    }

    .svc-renew-price { display: none; }
}
/* ── ADD THIS TO THE BOTTOM OF renew.css ── */

/* Fix: custom cursor must be 'none' so the dot/ring cursor shows */
.svc-renew-row,
.svc-renew-row *,
.change-num-btn,
.renew-cta,
.cs-back-link,
.cs-sidebar-cta,
#verify-btn,
#proceed-btn,
#submit-btn,
#back-btn,
#change-num-btn {
    cursor: none !important;
}

/* Fix: service rows must have pointer-events enabled */
.svc-renew-row {
    pointer-events: all !important;
}

/* Fix: hidden class */
.hidden {
    display: none !important;
}
/* USD price with INR sub-label */
.svc-renew-price {
    text-align: right;
    line-height: 1.2;
}

.svc-price-inr {
    display: block;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    color: var(--muted);
    font-weight: 400;
    margin-top: 2px;
}
/* ============================================================
   ADD TO BOTTOM OF static/css/pages/renew.css
   Discount toggle + pricing breakdown styles
   ============================================================ */

/* ── DISCOUNT TOGGLE WRAP ── */
.discount-toggle-wrap {
    margin: 20px 0 4px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    background: rgba(0, 229, 255, 0.04);
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.discount-toggle-wrap:hover {
    background: rgba(0, 229, 255, 0.07);
    border-color: rgba(0, 229, 255, 0.35);
}

.discount-toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 12px;
    user-select: none;
}

.discount-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discount-badge {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #000;
    background: var(--cyan);
    padding: 3px 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.discount-toggle-label > .discount-toggle-left > span:last-child,
#discount-toggle-lbl {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
}

/* The checkbox is hidden — we use a custom slider */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    cursor: none;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--muted);
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.77, 0, 0.18, 1), background 0.25s;
}

.toggle-switch input:checked + .toggle-slider {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--cyan);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px) translateY(-50%);
    background: var(--cyan);
}

/* ── PRICING BREAKDOWN ── */
.pricing-breakdown {
    margin: 4px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    overflow: hidden;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--surface2);
    transition: background 0.2s;
}

.breakdown-row:last-child { border-bottom: none; }

.breakdown-lbl {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.breakdown-val {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--text);
}

/* Discount row */
.discount-active-row {
    background: rgba(34, 197, 94, 0.04);
    border-color: rgba(34, 197, 94, 0.15) !important;
    animation: slidedown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slidedown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}

.discount-lbl { color: #22c55e !important; }

.discount-tag {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.58rem;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 2px 6px;
    border-radius: 2px;
    letter-spacing: 0.08em;
}

.discount-val { color: #22c55e !important; font-weight: 700; }

/* Platform charge */
.platform-lbl { color: var(--muted); }

.platform-pct {
    font-size: 0.6rem;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 2px 6px;
    border-radius: 2px;
    letter-spacing: 0.06em;
}

.platform-val { color: #f59e0b !important; }

/* Grand total row */
.breakdown-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: rgba(0, 229, 255, 0.05);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

/* Override the old confirm-total-row if still present */
.confirm-total-row { display: none !important; }

/* ============================================================
   T&C MODAL + PAYMENT MODAL — Added for Proceed to Pay flow
   ============================================================ */

/* Overlay backdrop — uses normal flow trick (not fixed) to avoid iframe collapse */
.tc-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 10, 0.82);
    z-index: 1000;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.tc-overlay.open {
    display: flex;
}

/* Modal panel */
.tc-modal {
    background: #0d1530;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slide-up 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-up {
    from { transform: translateY(60px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* Modal header */
.tc-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 32px 20px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    flex-shrink: 0;
    gap: 16px;
}

.tc-modal-tag {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.tc-modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 4px;
}

.tc-modal-sub {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
}

.tc-close-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, border-color 0.2s;
    cursor: none;
}

.tc-close-btn:hover {
    color: var(--text);
    border-color: rgba(0, 229, 255, 0.3);
}

/* Scrollable T&C content */
.tc-scroll-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 229, 255, 0.2) transparent;
}

.tc-scroll-body::-webkit-scrollbar { width: 4px; }
.tc-scroll-body::-webkit-scrollbar-thumb { background: rgba(0, 229, 255, 0.2); border-radius: 2px; }

.tc-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.tc-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.tc-section h3 {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 10px;
}

.tc-section p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.8;
}

.tc-section strong {
    color: var(--text);
    font-weight: 600;
}

/* Modal footer */
.tc-modal-footer {
    padding: 20px 32px 28px;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    flex-shrink: 0;
}

/* Accept checkbox row */
.tc-accept-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.15);
    margin-bottom: 16px;
}

.tc-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--cyan);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.tc-accept-label {
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.6;
    cursor: pointer;
}

/* Footer buttons */
.tc-footer-btns {
    display: flex;
    gap: 12px;
    align-items: center;
}

.tc-proceed-btn {
    flex: 1;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    font-size: 0.82rem;
}

.tc-cancel-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: 'Chivo Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 20px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    cursor: none;
}

.tc-cancel-btn:hover {
    color: var(--text);
    border-color: rgba(0, 229, 255, 0.25);
}

/* ── PAYMENT MODAL ── */
.pay-modal {
    max-width: 560px;
}

.pay-modal-body {
    padding: 24px 32px 28px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 229, 255, 0.2) transparent;
}

.pay-amount-box {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 20px 24px;
    text-align: center;
    margin-bottom: 24px;
}

.pay-amount-label {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.pay-amount-big {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    letter-spacing: 0.04em;
    color: var(--cyan);
    line-height: 1;
}

.pay-amount-note {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-top: 6px;
}

.pay-field-group {
    margin-bottom: 16px;
}

.pay-field-label {
    display: block;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.pay-field-input {
    display: block;
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 13px 16px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pay-field-input::placeholder { color: rgba(236, 233, 248, 0.2); }

.pay-field-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}

.pay-secure-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.1);
    margin: 16px 0;
}

.pay-secure-note span {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.6;
}

.pay-error {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: #ef4444;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 600px) {
    .tc-modal-header { padding: 20px 18px 16px; }
    .tc-scroll-body  { padding: 18px; }
    .tc-modal-footer { padding: 16px 18px 20px; }
    .pay-modal-body  { padding: 18px; }
    .tc-footer-btns  { flex-direction: column; }
    .tc-cancel-btn   { width: 100%; text-align: center; }
    .tc-modal-title  { font-size: 1.6rem; }
}
/* ============================================================
   STEP 3 SIDEBAR — CLEAN SaaS UPGRADE
   ============================================================ */

.confirm-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 100px;

    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
}

/* ── META CARDS ── */
.cs-meta-card {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    transition: border-color 0.2s, background 0.2s;
}

.cs-meta-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    background: rgba(0, 229, 255, 0.04);
}

.cs-meta-label {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.cs-meta-value {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
}

/* ── CTA BUTTON ── */
.cs-sidebar-cta {
    width: 100%;
    margin-top: 8px;
    padding: 14px 18px;
    font-size: 0.8rem;
    justify-content: center;

    border-top: 1px solid var(--border);
}

/* Reduce heaviness */
.cs-sidebar-cta span {
    letter-spacing: 0.05em;
}

/* ── BACK BUTTON ── */
.cs-back-link {
    margin-top: 6px;
    text-align: center;

    background: transparent;
    border: none;
    color: var(--muted);

    font-family: 'Chivo Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;

    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.cs-back-link:hover {
    color: var(--cyan);
    transform: translateX(-2px);
}

/* ── OPTIONAL: SUBTLE DIVIDER EFFECT ── */
.cs-sidebar-cta::before {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    background: var(--border);
    margin-bottom: 16px;
}

/* ── RESPONSIVE FIX ── */
@media (max-width: 960px) {
    .confirm-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 16px;
        gap: 10px;
    }

    .cs-meta-card {
        flex: 1 1 calc(50% - 10px);
    }

    .cs-sidebar-cta {
        flex: 1 1 100%;
    }

    .cs-back-link {
        flex: 1 1 100%;
    }
}

@media (max-width: 600px) {
    .confirm-sidebar {
        flex-direction: column;
    }

    .cs-meta-card {
        flex: 1 1 100%;
    }
}
.svc-discount-pill {
    display: inline-block;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 2px 7px;
    border-radius: 2px;
    margin-top: 4px;
}
.svc-charge-pill {
    display: inline-block;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 2px 7px;
    border-radius: 2px;
    margin-top: 4px;
}
/* ── COUPON INPUT ── */
.coupon-wrap {
    margin: 20px 0 4px;
}

.coupon-label-row {
    margin-bottom: 8px;
}

.coupon-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.coupon-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--surface2);
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.coupon-input-wrap:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}

.coupon-input-wrap.coupon-applied {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.coupon-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 14px;
    height: 44px;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--text);
}

.coupon-input::placeholder {
    color: rgba(236, 233, 248, 0.25);
    letter-spacing: 0.06em;
}

.coupon-apply-btn {
    height: 44px;
    padding: 0 20px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--cyan);
    font-family: 'Chivo Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
    cursor: none;
}

.coupon-apply-btn:hover {
    background: rgba(0, 229, 255, 0.18);
    border-color: var(--cyan);
}

.coupon-apply-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.coupon-remove-btn {
    height: 44px;
    padding: 0 16px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    cursor: none;
}

.coupon-remove-btn:hover {
    background: rgba(239, 68, 68, 0.15);
}

.coupon-feedback {
    margin-top: 6px;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.07em;
    min-height: 18px;
}

.coupon-feedback--success { color: #22c55e; }
.coupon-feedback--error   { color: #ef4444; }
/* ============================================================
   PAYMENT MODAL — 3 OPTIONS
   ADD TO BOTTOM OF static/css/pages/renew.css
   ============================================================ */

/* ── MODAL SIZE ── */
.pay-modal {
    max-width: 680px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.pay-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 28px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,229,255,0.2) transparent;
}

.pay-modal-footer {
    padding: 14px 28px 20px;
    border-top: 1px solid rgba(0,229,255,0.08);
    flex-shrink: 0;
}

/* ── SHARED FIELDS ── */
.pay-shared-fields {
    margin-bottom: 18px;
}

.pay-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.pay-field-group {
    margin-bottom: 10px;
}

.pay-field-label {
    display: block;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.pay-field-input {
    display: block;
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 11px 14px;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.pay-field-input::placeholder { color: rgba(236,233,248,0.2); }
.pay-field-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
}

/* ── METHOD SELECTOR ── */
.pay-method-selector {
    margin-bottom: 16px;
}

.pay-method-label {
    margin-bottom: 10px;
}

.pay-method-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pay-method-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 14px 16px;
    background: var(--surface2);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.pay-method-tab::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform 0.25s;
    transform-origin: left;
}

.pay-method-tab:hover {
    border-color: rgba(0,229,255,0.25);
    background: rgba(0,229,255,0.03);
}

.pay-method-tab.active {
    border-color: rgba(0,229,255,0.4);
    background: rgba(0,229,255,0.06);
}

.pay-method-tab.active::before {
    transform: scaleX(1);
}

.pay-tab-icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.pay-tab-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
}

.pay-tab-sub {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    color: var(--muted);
}

/* ── METHOD PANELS ── */
.pay-method-panel {
    padding-bottom: 8px;
    animation: fadeInPanel 0.2s ease;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

/* ── PAYTM PANEL ── */
.pay-secure-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(0,229,255,0.04);
    border: 1px solid rgba(0,229,255,0.1);
    margin-bottom: 4px;
}

.pay-secure-note span {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── SBI PANEL ── */
.sbi-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: start;
    padding-top: 4px;
}

/* QR Column */
.sbi-qr-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sbi-qr-wrap {
    width: 184px;
    height: 184px;
    background: #0d1530;
    border: 1px solid rgba(0,229,255,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sbi-qr-label {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    position: absolute;
    top: 8px;
}

.sbi-qr-img {
    width: 160px;
    height: 160px;
    margin-top: 10px;
    border-radius: 2px;
}

.sbi-qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.sbi-qr-img:not(.hidden) + .sbi-qr-loading {
    display: none;
}

.sbi-upi-row {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,229,255,0.04);
    border: 1px solid rgba(0,229,255,0.12);
    padding: 6px 10px;
    width: 100%;
    box-sizing: border-box;
}

.sbi-amount-pill {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.2);
    padding: 6px 12px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.sbi-amount-pill strong {
    color: #f59e0b;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

/* Details Column */
.sbi-details-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sbi-detail-title {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 10px;
}

.sbi-detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    background: var(--surface2);
}

.sbi-detail-row:first-of-type { border-top: 1px solid var(--border); }

.sbi-detail-label {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    min-width: 80px;
    flex-shrink: 0;
}

.sbi-detail-val {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--text);
    flex: 1;
    word-break: break-all;
}

.sbi-copy-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.75rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s, border-color 0.2s;
    cursor: none;
}

.sbi-copy-btn:hover {
    color: var(--cyan);
    border-color: rgba(0,229,255,0.3);
}

.sbi-txn-group { margin-top: 4px; }

.sbi-txn-hint {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 6px;
    font-style: italic;
}

.sbi-confirm-btn {
    margin-top: 12px;
    width: 100%;
    padding: 13px 18px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.35);
    color: #22c55e;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    cursor: none;
}

.sbi-confirm-btn:hover {
    background: rgba(34,197,94,0.18);
    border-color: #22c55e;
}

.sbi-confirm-btn:disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ── SUCCESS PANEL ── */
.pay-success-panel {
    padding: 32px 28px 24px;
    text-align: center;
    flex: 1;
}

.pay-success-inner {
    max-width: 440px;
    margin: 0 auto;
}

.pay-success-ring {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(34,197,94,0.08);
    border: 2px solid rgba(34,197,94,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: success-pulse 2s ease-in-out infinite;
}

.pay-success-icon {
    font-size: 2rem;
    color: #22c55e;
}

.pay-success-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 14px;
}

.pay-success-msg {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 24px;
}

.pay-success-msg strong { color: var(--text); }

.pay-success-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 16px 18px;
    margin-bottom: 4px;
}

.pay-success-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Chivo Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.step-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.step-dot.done {
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.4);
    color: #22c55e;
    font-weight: 700;
}

.step-dot.pending {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--muted);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ── ERROR BOX ── */
.pay-error {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: #ef4444;
    padding: 10px 14px;
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.2);
    margin-bottom: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .pay-fields-row { grid-template-columns: 1fr; }
    .pay-method-tabs { grid-template-columns: 1fr; }
    .sbi-layout { grid-template-columns: 1fr; }
    .sbi-qr-col { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
    .sbi-qr-wrap { width: 140px; height: 140px; }
    .sbi-qr-img { width: 118px; height: 118px; }
    .pay-modal-body { padding: 16px 16px 0; }
    .pay-modal-footer { padding: 12px 16px 16px; }
    .pay-success-panel { padding: 24px 16px 16px; }
}
/* ── QR BLUR / REVEAL ── */
.sbi-qr-img {
    filter: blur(8px);
    transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer !important;
}

.sbi-qr-img.revealed {
    filter: blur(0px);
}

.sbi-qr-reveal-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(13, 21, 48, 0.45);
    backdrop-filter: blur(2px);
    cursor: pointer !important;
    transition: opacity 0.3s ease;
    z-index: 3;
    margin-top: 0;
}

.sbi-qr-reveal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.sbi-qr-reveal-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.sbi-qr-reveal-text {
    font-family: 'Chivo Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    text-align: center;
    line-height: 1.5;
}
/* ============================================================
   PAYTM CURSOR & OVERLAY FIX
   Add these rules to renew.css or your global stylesheet
   ============================================================ */

/* Disable custom cursor while Paytm checkout overlay is open */
body.paytm-open,
body.paytm-open * {
    cursor: auto !important;
}

/* Force default cursor inside any Paytm-injected iframes */
iframe[src*="paytm"],
iframe[id*="paytm"] {
    cursor: auto !important;
}