/* ==========================================================================
   SPS Cash & Margin Management Hub (Nạp / Rút / Ký Quỹ MXV)
   Styles for #sps-cash-tab
   ========================================================================== */

#sps-cash-tab {
    padding: 12px 16px 24px;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    display: none;
}

#sps-cash-tab.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Asset Summary Banner ─────────────────────────────────────────────────── */
.sps-cash-summary-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.sps-cash-metric-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.sps-cash-metric-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #3b82f6;
}

.sps-cash-metric-card.cash::before { background: #10b981; }
.sps-cash-metric-card.margin::before { background: #f59e0b; }
.sps-cash-metric-card.avail::before { background: #6366f1; }
.sps-cash-metric-card.withdraw::before { background: #06b6d4; }

.sps-metric-lbl {
    font-size: 11.5px;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sps-metric-val {
    font-size: 20px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.3px;
    font-variant-numeric: tabular-nums;
}

.sps-metric-sub {
    font-size: 10.5px;
    color: #64748b;
}

/* ── Sub-tabs Navigation ─────────────────────────────────────────────────── */
.sps-cash-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

.sps-cash-subtabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sps-cash-subtab {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sps-cash-subtab:hover {
    background: rgba(51, 65, 85, 0.8);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.25);
}

.sps-cash-subtab.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.sps-cash-refresh-btn {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sps-cash-refresh-btn:hover {
    background: rgba(51, 65, 85, 0.9);
    color: #fff;
}

/* ── Content Panes ───────────────────────────────────────────────────────── */
.sps-cash-pane {
    display: none;
    animation: fadeIn 0.2s ease;
}

.sps-cash-pane.active {
    display: block;
}

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

/* ── Deposit Pane Layout (VietQR) ────────────────────────────────────────── */
.sps-deposit-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 16px;
}

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

.sps-cash-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sps-cash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.sps-cash-card-title {
    font-size: 14px;
    font-weight: 800;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Quick amount buttons */
.sps-quick-amounts {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.sps-quick-amt-btn {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sps-quick-amt-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: #3b82f6;
    color: #60a5fa;
}

/* Input Fields */
.sps-cash-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sps-cash-form-group label {
    font-size: 11.5px;
    font-weight: 600;
    color: #94a3b8;
}

.sps-cash-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.sps-cash-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 8px 12px;
    color: #f8fafc;
    font-size: 13.5px;
    font-weight: 600;
    box-sizing: border-box;
    outline: none;
    transition: border 0.15s ease;
}

.sps-cash-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.sps-cash-input-unit {
    position: absolute;
    right: 12px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    pointer-events: none;
}

/* QR Code Display Card */
.sps-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    max-width: 260px;
    margin: 0 auto;
}

.sps-qr-image {
    width: 220px;
    height: 220px;
    object-fit: contain;
    border-radius: 6px;
}

.sps-qr-status {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sps-qr-actions {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-sps-download-qr {
    background: #0f172a;
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-sps-download-qr:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* Sub-account Selector Dropdown */
#sps-deposit-subacct-select {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-weight: 600;
    cursor: pointer;
}

#sps-deposit-subacct-select:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

/* Bank Details Info Rows */
.sps-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sps-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
}

.sps-info-lbl {
    color: #94a3b8;
    font-weight: 500;
}

.sps-info-val-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sps-info-val {
    color: #f8fafc;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.sps-copy-btn {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sps-copy-btn:hover {
    background: #2563eb;
    color: #fff;
}

/* Primary CTA Button */
.sps-btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.sps-btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* Green SPS-styled CTA Button */
.btn-sps-gen-qr {
    background: linear-gradient(135deg, #059669, #10b981) !important;
    border: 1px solid rgba(16, 185, 129, 0.5) !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
}

.btn-sps-gen-qr:hover {
    background: linear-gradient(135deg, #047857, #059669) !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45) !important;
}

.sps-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Direction Toggle Box for MXV Transfer */
.sps-direction-toggle {
    display: flex;
    gap: 8px;
    background: rgba(15, 23, 42, 0.7);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sps-dir-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.sps-dir-btn.active {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.sps-dir-btn.active.withdraw {
    background: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Percentage Pill Buttons */
.sps-pct-group {
    display: flex;
    gap: 6px;
}

.sps-pct-btn {
    flex: 1;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 5px 0;
    border-radius: 5px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.sps-pct-btn:hover {
    background: rgba(37, 99, 235, 0.25);
    border-color: #3b82f6;
    color: #fff;
}

/* Note Alert Box */
.sps-note-alert {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 11.5px;
    color: #93c5fd;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.sps-note-alert.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fcd34d;
}

/* History Table */
.sps-cash-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.sps-cash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}

.sps-cash-table th {
    background: rgba(15, 23, 42, 0.85);
    color: #94a3b8;
    padding: 10px 12px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.sps-cash-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    white-space: nowrap;
}

.sps-cash-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* Empty state for history */
.sps-empty-history {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    text-align: center;
}

.sps-empty-history .sps-empty-icon {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 2px;
}

.sps-empty-history .sps-empty-title {
    font-size: 15px;
    font-weight: 700;
    color: #94a3b8;
}

.sps-empty-history .sps-empty-desc {
    font-size: 12.5px;
    color: #64748b;
    max-width: 440px;
    line-height: 1.5;
}

/* Light Mode Overrides */
body.light-mode #sps-cash-tab .sps-cash-metric-card,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-cash-metric-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.light-mode #sps-cash-tab .sps-metric-lbl,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-metric-lbl {
    color: #64748b;
}

body.light-mode #sps-cash-tab .sps-metric-val,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-metric-val {
    color: #0f172a;
}

body.light-mode #sps-cash-tab .sps-cash-subtab,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-cash-subtab {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

body.light-mode #sps-cash-tab .sps-cash-subtab.active,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-cash-subtab.active {
    background: var(--str-accent-soft, #e0f2fe);
    color: var(--fs-accent, var(--str-accent, #0284c7));
    border-color: var(--fs-accent, var(--str-accent, #0284c7));
    box-shadow: none;
}

body.light-mode #sps-cash-tab .sps-cash-card,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-cash-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

body.light-mode #sps-cash-tab .sps-cash-card-title,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-cash-card-title {
    color: #0f172a;
}

body.light-mode #sps-cash-tab .sps-cash-input,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-cash-input {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.light-mode #sps-cash-tab .sps-info-row,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-info-row {
    background: #f8fafc;
    border-color: #e2e8f0;
}

body.light-mode #sps-cash-tab .sps-info-val,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-info-val {
    color: #0f172a;
}

body.light-mode #sps-cash-tab .sps-cash-table th,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-cash-table th {
    background: #f1f5f9;
    color: #475569;
    border-bottom-color: #e2e8f0;
}

body.light-mode #sps-cash-tab .sps-cash-table td,
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab .sps-cash-table td {
    color: #1e293b;
    border-bottom-color: #f1f5f9;
}

/* Unlinked banner for Nạp/Rút SPS tab */
.sps-cash-unlinked-banner {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.18) 0%, rgba(245, 158, 11, 0.14) 100%);
    border: 1px solid rgba(56, 189, 248, 0.45);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    animation: spsModalIn 0.3s ease;
}

.sps-cash-unlinked-banner .unlinked-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sps-cash-unlinked-banner .unlinked-icon {
    font-size: 26px;
    color: #fbbf24;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sps-cash-unlinked-banner .unlinked-title {
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 3px;
}

.sps-cash-unlinked-banner .unlinked-desc {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.4;
}

.sps-cash-unlinked-banner .btn-sps-link-now {
    padding: 10px 20px;
    background: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s, filter 0.2s;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.sps-cash-unlinked-banner .btn-sps-link-now:hover {
    transform: translateY(-1.5px);
    filter: brightness(1.1);
}

body.light-mode .sps-cash-unlinked-banner,
body:not(.dark-mode):not(.cosmic-mode) .sps-cash-unlinked-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #fef3c7 100%);
    border-color: #93c5fd;
}

body.light-mode .sps-cash-unlinked-banner .unlinked-title,
body:not(.dark-mode):not(.cosmic-mode) .sps-cash-unlinked-banner .unlinked-title {
    color: #0f172a;
}

body.light-mode .sps-cash-unlinked-banner .unlinked-desc,
body:not(.dark-mode):not(.cosmic-mode) .sps-cash-unlinked-banner .unlinked-desc {
    color: #475569;
}

/* Account Type Switcher (Future vs ACM) */
.sps-acct-type-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.sps-acct-type-btn {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: all 0.2s ease;
    color: #cbd5e1;
}

.sps-acct-type-btn:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(15, 23, 42, 0.85);
}

.sps-acct-type-btn.active {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(16, 185, 129, 0.18) 100%);
    border-color: #38bdf8;
    box-shadow: 0 0 16px rgba(2, 132, 199, 0.25);
    color: #f8fafc;
}

.sps-acct-type-btn .type-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.sps-acct-type-btn .type-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sps-acct-type-btn .type-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
}

.sps-acct-type-btn.active .type-text strong {
    color: #38bdf8;
}

.sps-acct-type-btn .type-text small {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.25;
}

/* Syntax Guide Box */
.sps-syntax-guide-box {
    background: rgba(15, 23, 42, 0.65);
    border: 1px dashed rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}

.sps-syntax-guide-box .syntax-guide-title {
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 2px;
}

.sps-syntax-guide-box .syntax-item {
    color: #cbd5e1;
    line-height: 1.45;
}

.sps-syntax-guide-box code {
    background: rgba(255, 255, 255, 0.08);
    color: #fbbf24;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 600;
    font-size: 11.5px;
}

.sps-syntax-guide-box .syntax-note {
    font-size: 11.5px;
    color: #10b981;
    margin-top: 4px;
    line-height: 1.35;
}

/* Light mode overrides */
body.light-mode .sps-acct-type-btn,
body:not(.dark-mode):not(.cosmic-mode) .sps-acct-type-btn {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

body.light-mode .sps-acct-type-btn.active,
body:not(.dark-mode):not(.cosmic-mode) .sps-acct-type-btn.active {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0f172a;
}

body.light-mode .sps-acct-type-btn .type-text strong,
body:not(.dark-mode):not(.cosmic-mode) .sps-acct-type-btn .type-text strong {
    color: #0f172a;
}

body.light-mode .sps-acct-type-btn.active .type-text strong,
body:not(.dark-mode):not(.cosmic-mode) .sps-acct-type-btn.active .type-text strong {
    color: #0284c7;
}

body.light-mode .sps-syntax-guide-box,
body:not(.dark-mode):not(.cosmic-mode) .sps-syntax-guide-box {
    background: #f8fafc;
    border-color: #93c5fd;
    color: #334155;
}

body.light-mode .sps-syntax-guide-box code,
body:not(.dark-mode):not(.cosmic-mode) .sps-syntax-guide-box code {
    background: #e2e8f0;
    color: #b45309;
}

/* ── PANE 3: Rút tiền SPS Layout ─────────────────────────────────────────── */
.sps-withdraw-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
    align-items: start;
}

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

.sps-withdraw-readonly-val {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 9px 12px;
    font-weight: 700;
    font-size: 15px;
    color: #10b981;
    font-variant-numeric: tabular-nums;
    min-height: 40px;
    display: flex;
    align-items: center;
}

body.light-mode .sps-withdraw-readonly-val,
body:not(.dark-mode):not(.cosmic-mode) .sps-withdraw-readonly-val {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #059669;
}

.sps-readonly-input {
    background: rgba(15, 23, 42, 0.4) !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
}

body.light-mode .sps-readonly-input,
body:not(.dark-mode):not(.cosmic-mode) .sps-readonly-input {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.sps-withdraw-action-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 16px;
}

.sps-withdraw-btn-reset {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    background: rgba(51, 65, 85, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    transition: all 0.2s ease;
    text-align: center;
}

.sps-withdraw-btn-reset:hover {
    background: rgba(71, 85, 105, 0.9);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

body.light-mode .sps-withdraw-btn-reset,
body:not(.dark-mode):not(.cosmic-mode) .sps-withdraw-btn-reset {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #334155;
}

body.light-mode .sps-withdraw-btn-reset:hover,
body:not(.dark-mode):not(.cosmic-mode) .sps-withdraw-btn-reset:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.sps-withdraw-btn-submit {
    flex: 2;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: #059669;
    border: none;
    color: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
    text-align: center;
}

.sps-withdraw-btn-submit:hover {
    background: #10b981;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
    transform: translateY(-1px);
}

.sps-withdraw-footnote {
    background: rgba(15, 23, 42, 0.6);
    border: 1px dashed rgba(245, 158, 11, 0.35);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.5;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sps-withdraw-footnote .footnote-header {
    font-weight: 700;
    color: #f59e0b;
}

.sps-withdraw-footnote .footnote-body p {
    margin: 0 0 6px 0;
    line-height: 1.45;
}

.sps-withdraw-footnote .footnote-body p:last-child {
    margin-bottom: 0;
}

body.light-mode .sps-withdraw-footnote,
body:not(.dark-mode):not(.cosmic-mode) .sps-withdraw-footnote {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

/* ── Cột 2: Bảng Số Dư Tiền (2x2 Grid) ─────────────────────────────────── */
.sps-withdraw-balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sps-balance-stat-box {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.sps-balance-stat-box:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(15, 23, 42, 0.75);
}

.sps-balance-stat-box .stat-title {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.sps-balance-stat-box .stat-number {
    font-size: 18px;
    font-weight: 800;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
}

body.light-mode .sps-balance-stat-box,
body:not(.dark-mode):not(.cosmic-mode) .sps-balance-stat-box {
    background: #f8fafc;
    border-color: #e2e8f0;
}

body.light-mode .sps-balance-stat-box:hover,
body:not(.dark-mode):not(.cosmic-mode) .sps-balance-stat-box:hover {
    border-color: #0284c7;
    background: #f0f9ff;
}

body.light-mode .sps-balance-stat-box .stat-title,
body:not(.dark-mode):not(.cosmic-mode) .sps-balance-stat-box .stat-title {
    color: #64748b;
}

body.light-mode .sps-balance-stat-box .stat-number,
body:not(.dark-mode):not(.cosmic-mode) .sps-balance-stat-box .stat-number {
    color: #0f172a;
}

@media (max-width: 500px) {
    .sps-withdraw-balance-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SPS TAB LOCKED GATE (BẮT BUỘC LIÊN KẾT TÀI KHOẢN TRADE SPS MỚI VÀO ĐƯỢC)
   ========================================================================== */
.sps-tab-locked-gate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    padding: 40px 20px;
    width: 100%;
}

.sps-lock-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.08);
    max-width: 580px;
    width: 100%;
    padding: 38px 32px;
    text-align: center;
    backdrop-filter: blur(14px);
    animation: spsModalIn 0.3s ease;
}

.sps-lock-icon-wrap {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.sps-lock-icon {
    font-size: 32px;
}

.sps-lock-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.sps-lock-title {
    font-size: 21px;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.sps-lock-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 26px;
}

.sps-lock-desc strong {
    color: #38bdf8;
    font-weight: 700;
}

.sps-lock-btn-link {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: 1px solid rgba(56, 189, 248, 0.6);
    border-radius: 10px;
    padding: 12px 28px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.4);
}

.sps-lock-btn-link:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(2, 132, 199, 0.6);
}

.sps-lock-footer-hint {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #64748b;
    line-height: 1.55;
}

/* ===================================================
   STR DYNAMIC THEME SYSTEM INTEGRATION (#sps-cash-tab)
   =================================================== */

#sps-cash-tab {
    background: var(--str-bg-base, #070a12) !important;
    color: var(--str-text-main, #f8fafc) !important;
    transition: background 0.25s ease, color 0.25s ease;
}

/* Metric Cards */
.sps-cash-metric-card {
    background: var(--str-bg-card, rgba(30, 41, 59, 0.7)) !important;
    border-color: var(--str-border-subtle, rgba(255, 255, 255, 0.1)) !important;
    transition: all 0.25s ease;
}
.sps-metric-lbl {
    color: var(--str-text-muted, #94a3b8) !important;
}
.sps-metric-val {
    color: var(--str-text-main, #f8fafc) !important;
}
.sps-metric-sub {
    color: var(--str-text-muted, #64748b) !important;
}

/* Nav Subtabs */
.sps-cash-nav-row {
    border-bottom-color: var(--str-border-subtle, rgba(255, 255, 255, 0.12)) !important;
}
.sps-cash-subtab {
    background: var(--str-bg-card, rgba(30, 41, 59, 0.5)) !important;
    border-color: var(--str-border-subtle, rgba(255, 255, 255, 0.1)) !important;
    color: var(--str-text-muted, #94a3b8) !important;
    transition: all 0.2s ease;
}
.sps-cash-subtab:hover {
    background: var(--str-accent-soft, rgba(51, 65, 85, 0.8)) !important;
    color: var(--str-text-main, #f8fafc) !important;
    border-color: var(--str-accent, rgba(255, 255, 255, 0.25)) !important;
}
.sps-cash-subtab.active {
    background: var(--str-accent, #2563eb) !important;
    color: var(--str-accent-fg, #ffffff) !important;
    border-color: var(--str-accent, #3b82f6) !important;
    box-shadow: 0 4px 14px var(--str-accent-soft, rgba(37, 99, 235, 0.35)) !important;
}

body.str-pure-white .sps-cash-subtab.active,
body:not(.dark-mode):not(.cosmic-mode) .sps-cash-subtab.active {
    background: var(--str-accent-soft, #e0f2fe) !important;
    color: var(--fs-accent, var(--str-accent, #0284c7)) !important;
    border-color: var(--fs-accent, var(--str-accent, #0284c7)) !important;
    box-shadow: none !important;
}

body.str-pure-white .sps-cash-subtab.active:hover,
body:not(.dark-mode):not(.cosmic-mode) .sps-cash-subtab.active:hover {
    background: var(--str-accent-mid, #bae6fd) !important;
    color: var(--fs-accent, var(--str-accent, #0284c7)) !important;
}
.sps-cash-refresh-btn {
    background: var(--str-bg-card, rgba(30, 41, 59, 0.7)) !important;
    border-color: var(--str-border-subtle, rgba(255, 255, 255, 0.12)) !important;
    color: var(--str-text-muted, #cbd5e1) !important;
    transition: all 0.2s ease;
}
.sps-cash-refresh-btn:hover {
    background: var(--str-accent-soft, rgba(51, 65, 85, 0.9)) !important;
    color: var(--str-text-main, #ffffff) !important;
    border-color: var(--str-accent, #3b82f6) !important;
}

/* Cards & Containers */
.sps-cash-card {
    background: var(--str-bg-card, rgba(30, 41, 59, 0.6)) !important;
    border-color: var(--str-border-subtle, rgba(255, 255, 255, 0.1)) !important;
    transition: all 0.25s ease;
}
.sps-cash-card-header {
    border-bottom-color: var(--str-border-subtle, rgba(255, 255, 255, 0.08)) !important;
}
.sps-cash-card-title {
    color: var(--str-text-main, #f1f5f9) !important;
}
.sps-cash-form-group label {
    color: var(--str-text-muted, #94a3b8) !important;
}
.sps-cash-input {
    background: var(--str-bg-surface, rgba(15, 23, 42, 0.7)) !important;
    border-color: var(--str-border-subtle, rgba(255, 255, 255, 0.14)) !important;
    color: var(--str-text-main, #f8fafc) !important;
    transition: all 0.2s ease;
}
.sps-cash-input:focus {
    border-color: var(--str-accent, #3b82f6) !important;
    box-shadow: 0 0 0 2px var(--str-accent-soft, rgba(59, 130, 246, 0.2)) !important;
}
.sps-quick-amt-btn {
    background: var(--str-bg-surface, rgba(15, 23, 42, 0.6)) !important;
    border-color: var(--str-border-subtle, rgba(255, 255, 255, 0.12)) !important;
    color: var(--str-text-muted, #cbd5e1) !important;
    transition: all 0.15s ease;
}
.sps-quick-amt-btn:hover {
    background: var(--str-accent-soft, rgba(37, 99, 235, 0.2)) !important;
    border-color: var(--str-accent, #3b82f6) !important;
    color: var(--str-accent, #60a5fa) !important;
}

/* Account Type Switcher */
.sps-acct-type-btn {
    background: var(--str-bg-surface, rgba(15, 23, 42, 0.65)) !important;
    border-color: var(--str-border-subtle, rgba(255, 255, 255, 0.12)) !important;
    color: var(--str-text-muted, #cbd5e1) !important;
    transition: all 0.2s ease;
}
.sps-acct-type-btn:hover {
    border-color: var(--str-accent, rgba(56, 189, 248, 0.4)) !important;
    background: var(--str-accent-soft, rgba(15, 23, 42, 0.85)) !important;
}
.sps-acct-type-btn.active {
    background: var(--str-accent-soft, rgba(2, 132, 199, 0.25)) !important;
    border-color: var(--str-accent, #38bdf8) !important;
    color: var(--str-text-main, #f8fafc) !important;
}
.sps-acct-type-btn.active .type-text strong {
    color: var(--str-accent, #38bdf8) !important;
}
.sps-acct-type-btn .type-text small {
    color: var(--str-text-muted, #94a3b8) !important;
}

/* Bank Details Info Rows */
.sps-info-row {
    background: var(--str-bg-surface, rgba(15, 23, 42, 0.5)) !important;
    border-color: var(--str-border-subtle, rgba(255, 255, 255, 0.08)) !important;
}
.sps-info-lbl {
    color: var(--str-text-muted, #94a3b8) !important;
}
.sps-info-val {
    color: var(--str-text-main, #f8fafc) !important;
}
.sps-copy-btn {
    background: var(--str-accent-soft, rgba(59, 130, 246, 0.15)) !important;
    color: var(--str-accent, #60a5fa) !important;
    border-color: var(--str-accent, rgba(59, 130, 246, 0.35)) !important;
    transition: all 0.15s ease;
}
.sps-copy-btn:hover {
    background: var(--str-accent, #2563eb) !important;
    color: var(--str-accent-fg, #ffffff) !important;
}

/* Primary CTA Button */
.sps-btn-primary {
    background: var(--str-accent, #2563eb) !important;
    color: var(--str-accent-fg, #ffffff) !important;
    box-shadow: 0 4px 14px var(--str-accent-soft, rgba(37, 99, 235, 0.35)) !important;
}

/* Readonly fields & Balance Grid */
.sps-withdraw-readonly-val {
    background: var(--str-bg-surface, rgba(15, 23, 42, 0.5)) !important;
    border-color: var(--str-border-subtle, rgba(255, 255, 255, 0.1)) !important;
}
.sps-balance-stat-box {
    background: var(--str-bg-surface, rgba(15, 23, 42, 0.55)) !important;
    border-color: var(--str-border-subtle, rgba(255, 255, 255, 0.1)) !important;
    transition: all 0.2s ease;
}
.sps-balance-stat-box:hover {
    border-color: var(--str-accent, rgba(56, 189, 248, 0.35)) !important;
    background: var(--str-accent-soft, rgba(15, 23, 42, 0.75)) !important;
}
.sps-balance-stat-box .stat-title {
    color: var(--str-text-muted, #94a3b8) !important;
}
.sps-balance-stat-box .stat-number {
    color: var(--str-text-main, #f8fafc) !important;
}

/* History Table */
.sps-cash-table-wrap {
    background: var(--str-bg-card, rgba(30, 41, 59, 0.6)) !important;
    border-color: var(--str-border-subtle, rgba(255, 255, 255, 0.1)) !important;
}
.sps-cash-table th {
    background: var(--str-bg-surface, rgba(15, 23, 42, 0.85)) !important;
    color: var(--str-text-muted, #94a3b8) !important;
    border-bottom-color: var(--str-border-subtle, rgba(255, 255, 255, 0.1)) !important;
}
.sps-cash-table td {
    border-bottom-color: var(--str-border-subtle, rgba(255, 255, 255, 0.06)) !important;
    color: var(--str-text-main, #e2e8f0) !important;
}
.sps-cash-table tr:hover td {
    background: var(--str-accent-soft, rgba(255, 255, 255, 0.03)) !important;
}
.sps-empty-title {
    color: var(--str-text-muted, #94a3b8) !important;
}
.sps-empty-desc {
    color: var(--str-text-muted, #64748b) !important;
}

/* Locked Gate & Unlinked Banner */
.sps-lock-card {
    background: var(--str-bg-card, rgba(15, 23, 42, 0.95)) !important;
    border-color: var(--str-border-subtle, rgba(56, 189, 248, 0.3)) !important;
}
.sps-lock-badge {
    background: var(--str-accent-soft, rgba(56, 189, 248, 0.15)) !important;
    color: var(--str-accent, #38bdf8) !important;
    border-color: var(--str-accent, rgba(56, 189, 248, 0.35)) !important;
}
.sps-lock-title {
    color: var(--str-text-main, #f8fafc) !important;
}
.sps-lock-desc {
    color: var(--str-text-muted, #94a3b8) !important;
}
.sps-lock-btn-link {
    background: var(--str-accent, #0284c7) !important;
    color: var(--str-accent-fg, #ffffff) !important;
    box-shadow: 0 4px 18px var(--str-accent-soft, rgba(2, 132, 199, 0.4)) !important;
}

/* ===================================================
   LIGHT MODE OVERRIDES (#sps-cash-tab)
   =================================================== */
body:not(.dark-mode):not(.cosmic-mode) #sps-cash-tab,
body.str-pure-white #sps-cash-tab {
    background: #ffffff !important;
    color: #0f172a !important;
}

body:not(.dark-mode):not(.cosmic-mode) .sps-cash-metric-card,
body.str-pure-white .sps-cash-metric-card,
body:not(.dark-mode):not(.cosmic-mode) .sps-cash-card,
body.str-pure-white .sps-cash-card,
body:not(.dark-mode):not(.cosmic-mode) .sps-balance-stat-box,
body.str-pure-white .sps-balance-stat-box,
body:not(.dark-mode):not(.cosmic-mode) .sps-cash-table-wrap,
body.str-pure-white .sps-cash-table-wrap,
body:not(.dark-mode):not(.cosmic-mode) .sps-lock-card,
body.str-pure-white .sps-lock-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

body:not(.dark-mode):not(.cosmic-mode) .sps-cash-subtab,
body.str-pure-white .sps-cash-subtab {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}
body:not(.dark-mode):not(.cosmic-mode) .sps-cash-subtab.active,
body.str-pure-white .sps-cash-subtab.active {
    background: var(--str-accent-soft, #e0f2fe) !important;
    color: var(--fs-accent, var(--str-accent, #0284c7)) !important;
    border-color: var(--fs-accent, var(--str-accent, #0284c7)) !important;
    box-shadow: none !important;
}

body:not(.dark-mode):not(.cosmic-mode) .sps-metric-lbl,
body.str-pure-white .sps-metric-lbl,
body:not(.dark-mode):not(.cosmic-mode) .sps-metric-sub,
body.str-pure-white .sps-metric-sub,
body:not(.dark-mode):not(.cosmic-mode) .stat-title,
body.str-pure-white .stat-title,
body:not(.dark-mode):not(.cosmic-mode) .sps-info-lbl,
body.str-pure-white .sps-info-lbl,
body:not(.dark-mode):not(.cosmic-mode) .sps-cash-form-group label,
body.str-pure-white .sps-cash-form-group label,
body:not(.dark-mode):not(.cosmic-mode) .sps-lock-desc,
body.str-pure-white .sps-lock-desc {
    color: #64748b !important;
}

body:not(.dark-mode):not(.cosmic-mode) .sps-metric-val,
body.str-pure-white .sps-metric-val,
body:not(.dark-mode):not(.cosmic-mode) .stat-number,
body.str-pure-white .stat-number,
body:not(.dark-mode):not(.cosmic-mode) .sps-cash-card-title,
body.str-pure-white .sps-cash-card-title,
body:not(.dark-mode):not(.cosmic-mode) .sps-info-val,
body.str-pure-white .sps-info-val,
body:not(.dark-mode):not(.cosmic-mode) .sps-lock-title,
body.str-pure-white .sps-lock-title {
    color: #0f172a !important;
}

body:not(.dark-mode):not(.cosmic-mode) .sps-cash-input,
body.str-pure-white .sps-cash-input,
body:not(.dark-mode):not(.cosmic-mode) .sps-withdraw-readonly-val,
body.str-pure-white .sps-withdraw-readonly-val,
body:not(.dark-mode):not(.cosmic-mode) .sps-info-row,
body.str-pure-white .sps-info-row {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body:not(.dark-mode):not(.cosmic-mode) .sps-quick-amt-btn,
body.str-pure-white .sps-quick-amt-btn {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}
body:not(.dark-mode):not(.cosmic-mode) .sps-quick-amt-btn:hover,
body.str-pure-white .sps-quick-amt-btn:hover {
    background: var(--str-accent-soft, #eff6ff) !important;
    border-color: var(--str-accent, #3b82f6) !important;
    color: var(--str-accent, #2563eb) !important;
}

body:not(.dark-mode):not(.cosmic-mode) .sps-acct-type-btn,
body.str-pure-white .sps-acct-type-btn {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}
body:not(.dark-mode):not(.cosmic-mode) .sps-acct-type-btn.active,
body.str-pure-white .sps-acct-type-btn.active {
    background: var(--str-accent-soft, #f0f9ff) !important;
    border-color: var(--str-accent, #0284c7) !important;
}
body:not(.dark-mode):not(.cosmic-mode) .sps-acct-type-btn.active .type-text strong,
body.str-pure-white .sps-acct-type-btn.active .type-text strong {
    color: var(--str-accent, #0284c7) !important;
}

body:not(.dark-mode):not(.cosmic-mode) .sps-cash-table th,
body.str-pure-white .sps-cash-table th {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border-bottom-color: #cbd5e1 !important;
}
body:not(.dark-mode):not(.cosmic-mode) .sps-cash-table td,
body.str-pure-white .sps-cash-table td {
    color: #0f172a !important;
    border-bottom-color: #f1f5f9 !important;
}

/* ===================================================
   COSMIC MODE OVERRIDES (#sps-cash-tab)
   =================================================== */
body.cosmic-mode #sps-cash-tab,
body.str-bg-cosmic #sps-cash-tab {
    background: #060913 !important;
}

body.cosmic-mode .sps-cash-metric-card,
body.str-bg-cosmic .sps-cash-metric-card,
body.cosmic-mode .sps-cash-card,
body.str-bg-cosmic .sps-cash-card,
body.cosmic-mode .sps-balance-stat-box,
body.str-bg-cosmic .sps-balance-stat-box,
body.cosmic-mode .sps-cash-table-wrap,
body.str-bg-cosmic .sps-cash-table-wrap,
body.cosmic-mode .sps-lock-card,
body.str-bg-cosmic .sps-lock-card {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ===================================================
   THEMED BORDERS OVERRIDES (#sps-cash-tab)
   =================================================== */
body.str-themed-borders .sps-cash-metric-card,
body.str-themed-borders .sps-cash-card,
body.str-themed-borders .sps-balance-stat-box,
body.str-themed-borders .sps-lock-card {
    border-color: var(--str-accent, #3b82f6) !important;
    box-shadow: 0 0 12px var(--str-accent-soft, rgba(59, 130, 246, 0.15)) !important;
}




