/* ── WeaverSM Premium Dark Theme — Global Inner-Page Override ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg:        #0B0C10;
    --surface:   rgba(15,16,22,0.65);
    --border:    rgba(255,255,255,0.07);
    --gold-1:    #FFD700;
    --gold-2:    #FFA500;
    --muted:     #8A8FA8;
    --font:      'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

/* ── Base ───────────────────────────────── */
body {
    background: var(--bg) !important;
    font-family: var(--font) !important;
}

/* ── Header bar ─────────────────────────── */
.header {
    background: rgba(11,12,16,0.88) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(255,215,0,0.12) !important;
    box-shadow: none !important;
}

/* Logo in header */
.header-logo {
    overflow: visible !important;
    background: none !important;
    color: transparent !important;
    font-size: 0 !important; /* kill any leftover text */
}
.header-logo img {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.35)) !important;
}

/* Header back-link (add-funds) */
.header-back { color: var(--muted) !important; }
.header-title { color: var(--gold-1) !important; font-family: var(--font) !important; }

/* Balance pill */
.header-balance {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2)) !important;
    color: #0B0C10 !important;
}

/* ── Slide-out sidebar ──────────────────── */
.side-menu {
    background: rgba(11,12,16,0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-right: 1px solid rgba(255,215,0,0.1) !important;
}
.menu-header {
    border-bottom: 1px solid rgba(255,215,0,0.1) !important;
    overflow: visible !important;
}
.menu-header .header-logo img {
    width: 48px !important;
    height: 48px !important;
}
.menu-item {
    color: var(--muted) !important;
}
.menu-item:hover,
.menu-item.active {
    background: rgba(255,215,0,0.08) !important;
    color: var(--gold-1) !important;
}
.menu-divider { background: rgba(255,215,0,0.08) !important; }
.menu-close { color: var(--muted) !important; }
.menu-close:hover { color: var(--gold-1) !important; }

/* ── Cards & containers ─────────────────── */
.card,
.summary-card,
.info-card,
.stat-card,
.plan-card,
.history-card {
    background: var(--surface) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3) !important;
}
.card-title { color: var(--gold-1) !important; }

/* Transaction items */
.txn-item {
    background: rgba(15,16,22,0.5) !important;
    border: 1px solid var(--border) !important;
}

/* Order row backgrounds */
.order-card,
.order-item {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
}

/* ── Form controls ──────────────────────── */
.form-control,
select.form-control,
textarea.form-control,
input.form-control {
    background: rgba(15,16,22,0.65) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(8px) !important;
    color: #fff !important;
    font-family: var(--font) !important;
}
.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    border-color: rgba(255,215,0,0.5) !important;
    box-shadow: 0 0 0 3px rgba(255,215,0,0.08) !important;
    outline: none !important;
}
.form-label { color: #C8CADD !important; font-family: var(--font) !important; }

/* ── Buttons ────────────────────────────── */
.btn-gold,
.btn[type="submit"],
button.btn,
a.btn,
.btn-primary {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2)) !important;
    color: #0B0C10 !important;
    font-family: var(--font) !important;
    font-weight: 700 !important;
    border: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}
.btn-gold:hover,
.btn[type="submit"]:hover,
button.btn:hover,
a.btn:hover,
.btn-primary:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 4px 20px rgba(255,165,0,0.4) !important;
}

/* Filter buttons (transactions) */
.filter-btn {
    background: rgba(15,16,22,0.6) !important;
    color: var(--muted) !important;
    border: 1px solid var(--border) !important;
}
.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2)) !important;
    color: #0B0C10 !important;
    border-color: transparent !important;
}

/* ── Bottom nav ─────────────────────────── */
.bottom-nav {
    background: rgba(11,12,16,0.88) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-top: 1px solid rgba(255,215,0,0.12) !important;
}
.bottom-nav a { color: var(--muted) !important; }
.bottom-nav a.active { color: var(--gold-1) !important; }
.bottom-nav a.active i { color: var(--gold-1) !important; }

/* ── Profile user-card ──────────────────── */
.user-card {
    background: var(--surface) !important;
    border: 1px solid rgba(255,215,0,0.2) !important;
}
.user-avatar {
    background: rgba(11,12,16,0.8) !important;
    border-color: var(--gold-1) !important;
}

/* ── Tabs (orders page) ─────────────────── */
.tab-btn,
.tab-link {
    background: rgba(15,16,22,0.6) !important;
    border: 1px solid var(--border) !important;
    color: var(--muted) !important;
}
.tab-btn.active,
.tab-link.active {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2)) !important;
    color: #0B0C10 !important;
    border-color: transparent !important;
}

/* ── Pagination ─────────────────────────── */
.pagination a,
.pagination span {
    background: rgba(15,16,22,0.6) !important;
    border: 1px solid var(--border) !important;
    color: var(--muted) !important;
}
.pagination .current,
.pagination a:hover {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2)) !important;
    color: #0B0C10 !important;
}

/* ── Crypto/payment cards (add-funds) ───── */
.crypto-option,
.payment-method {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
}
.crypto-option:hover,
.crypto-option.selected {
    border-color: rgba(255,215,0,0.4) !important;
}

/* ── Banner pricing cards ───────────────── */
.price-option {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
}
.price-option.selected,
.price-option:hover {
    border-color: rgba(255,215,0,0.4) !important;
}

/* ── Alert boxes ────────────────────────── */
.alert-success { background: rgba(16,185,129,0.12) !important; border-color: rgba(16,185,129,0.3) !important; }
.alert-danger,
.alert-error   { background: rgba(239,68,68,0.12) !important;  border-color: rgba(239,68,68,0.3) !important; }

/* Force page title gold accents */
.page-title i { color: var(--gold-1) !important; }

/* SMM category/service select dropdowns */
select option {
    background: #0B0C10 !important;
    color: #fff !important;
}
