/* ==============================================================================
   SMMScripts - User Panel Modern Master Theme (Cyber Yellow & Deep Black / Pure White)
   Matches Reference Design: Cyber Yellow (#28cb69), Solid Black (#000000) & Crisp White (#202024)
   Supports Arabic (RTL) and English (LTR)
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
    --up-yellow: #28cb69;
    --up-yellow-hover: #0fac4e;
    --up-yellow-light: rgba(40, 203, 105, 0.12);
    --up-black: #131313;
    --up-sidebar-bg: #131313;
    --up-body-bg: #1a1a1d;
    --up-card-bg: #202024;
    --up-card-light: #1c2434;
    --up-border: rgba(255, 255, 255, 0.08);
    --up-border-subtle: rgba(255, 255, 255, 0.06);
    --up-text-main: #ffffff;
    --up-text-muted: #8b93a7;
    --up-text-dim: #6f7789;
    --up-pill-bg: rgba(40, 203, 105, 0.12);
    --up-green: #2fcd94;
    --up-radius-pill: 10px;
    --up-radius-card: 15px;
}

/* Base Body Override for User Dashboard */
body.user-panel-body {
    background-color: var(--up-body-bg) !important;
    color: var(--up-text-main) !important;
    font-family: 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Master Layout Container */
.user-panel-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--up-body-bg);
    position: relative;
}

/* ==============================================================================
   1. Left Sidebar (Deep Solid Black with Yellow Active Pill)
   ============================================================================== */

.user-sidebar {
    width: 250px;
    background: var(--up-sidebar-bg) !important;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    padding: 24px 16px;
    transition: transform 0.3s ease;
}

.user-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 0 8px;
}

.user-sidebar-toggle-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.user-sidebar-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    border-radius: var(--up-radius-pill);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-sidebar-item a i {
    font-size: 16px;
    width: 20px;
    color: var(--up-yellow);
    transition: all 0.2s ease;
    text-align: center;
}

/* Inactive Hover */
.user-sidebar-item:not(.active) a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

/* Active Menu Item: Iconic Bright Yellow Pill with Bold Black Text */
.user-sidebar-item.active a {
    background: var(--up-yellow) !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 16px rgba(40, 203, 105, 0.35);
}

.user-sidebar-item.active a i {
    color: #FFFFFF !important;
}

/* "Show more" Accordion Button */
.user-sidebar-more-btn {
    background: #18181B;
    border: none;
    color: #FFFFFF;
    border-radius: var(--up-radius-pill);
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    transition: all 0.2s;
}
.user-sidebar-more-btn:hover {
    background: #27272A;
}
.user-sidebar-sub-menu {
    display: none;
    list-style: none;
    padding: 8px 0 0 10px;
    margin: 0;
}
.user-sidebar-sub-menu.show {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ==============================================================================
   2. Main Container & Topbar
   ============================================================================== */

.user-main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--up-body-bg);
}

/* Topbar */
.user-topbar {
    background: #202024;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid var(--up-border-subtle);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.user-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.user-topbar-pill {
    background: var(--up-pill-bg);
    color: #FFFFFF;
    border-radius: var(--up-radius-pill);
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.balance-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #8b93a7;
    margin-inline-start: 4px;
    padding: 0;
}
.balance-toggle-btn:hover {
    color: #FFFFFF;
}

.user-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.user-topbar-search {
    position: relative;
    width: 200px;
}
.user-topbar-search input {
    background: var(--up-pill-bg);
    border: none;
    border-radius: var(--up-radius-pill);
    padding: 7px 16px 7px 34px;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    outline: none;
    color: #FFFFFF;
}
html[dir="rtl"] .user-topbar-search input {
    padding: 7px 34px 7px 16px;
}
.user-topbar-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #8b93a7;
}
html[dir="rtl"] .user-topbar-search i {
    left: auto;
    right: 12px;
}

/* Circular Topbar Action Buttons */
.user-action-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
}

.user-action-circle.yellow {
    background: var(--up-yellow);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(40, 203, 105, 0.3);
}
.user-action-circle.yellow:hover {
    background: var(--up-yellow-hover);
    transform: translateY(-1px);
}

.user-action-circle.black {
    background: #000000;
    color: var(--up-yellow);
}
.user-action-circle.black:hover {
    background: #18181B;
    transform: translateY(-1px);
}

/* Dropdowns in Topbar (Currency & Language) */
.user-currency-dropdown-wrap,
.user-lang-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.user-currency-dropdown-menu,
.user-lang-dropdown-menu {
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 6px 0;
    animation: userDropdownFadeIn 0.15s ease-out;
}

@keyframes userDropdownFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-content-area {
    padding: 25px 28px 40px;
    flex: 1;
}

/* ==============================================================================
   3. Top 4 Metric / Status Cards (Matching Screenshot 5)
   ============================================================================== */

.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 1200px) {
    .user-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 650px) {
    .user-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Card 1: Black Status Card with Circular Progress */
.stat-card-status {
    background: #000000 !important;
    border-radius: var(--up-radius-card);
    padding: 22px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.stat-card-status .status-tag {
    color: var(--up-yellow);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.stat-card-status .status-title {
    font-size: 24px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 4px;
}
.stat-card-status .status-sub {
    font-size: 12px;
    color: #8b93a7;
}
.stat-card-status .status-progress-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 5px solid #27272A;
    border-top-color: var(--up-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    color: #FFFFFF;
}

/* Card 2: Bright Yellow Points Card */
.stat-card-points {
    background: var(--up-yellow) !important;
    border-radius: var(--up-radius-card);
    padding: 22px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(40, 203, 105, 0.25);
}
.stat-card-points .points-tag {
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
}
.stat-card-points .points-val {
    font-size: 20px;
    font-weight: 900;
    font-family: monospace;
    direction: ltr !important;
    unicode-bidi: isolate !important;
    display: inline-block;
}
.stat-card-points .btn-redeem {
    background: #000000;
    color: #FFFFFF;
    border-radius: var(--up-radius-pill);
    padding: 8px 18px;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.stat-card-points .btn-redeem:hover {
    background: #27272A;
}

/* Card 3 & 4: White Cards with 3D Illustrations */
.stat-card-white {
    background: #202024 !important;
    border: 1px solid var(--up-border);
    border-radius: var(--up-radius-card);
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}
.stat-card-white .white-tag {
    font-size: 13px;
    color: var(--up-text-muted);
    font-weight: 700;
    margin-bottom: 6px;
}
.stat-card-white .white-val {
    font-size: 24px;
    font-weight: 900;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}
.stat-card-white .stat-icon-3d {
    font-size: 44px;
    color: #f79e1b;
}

/* ==============================================================================
   4. Table Pill Headers & Universal Tables (Matching Screenshots 3, 4)
   ============================================================================== */

.pill-table-header {
    background: #000000 !important;
    color: #FFFFFF !important;
    border-radius: 30px !important;
    padding: 14px 24px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Full Width Category Pill Banner in Services */
.category-pill-banner {
    background: var(--up-yellow) !important;
    color: #FFFFFF !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    text-align: center;
    border-radius: 30px;
    padding: 14px;
    margin: 20px 0 12px;
    box-shadow: 0 4px 15px rgba(40, 203, 105, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Service Item Row (Clean White Card) */
.service-pill-row {
    background: #202024;
    border: 1px solid var(--up-border);
    border-radius: 18px;
    padding: 14px 20px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.service-pill-row:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-id-badge {
    background: #000000;
    color: #FFFFFF;
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 800;
    font-size: 13px;
    min-width: 55px;
    text-align: center;
    display: inline-block;
}

.action-btn-circle-yellow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--up-yellow);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.action-btn-circle-yellow:hover {
    background: var(--up-yellow-hover);
    transform: scale(1.05);
}

.btn-pill-black {
    background: #000000 !important;
    color: #FFFFFF !important;
    border-radius: var(--up-radius-pill) !important;
    padding: 7px 18px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-pill-black:hover {
    background: #27272A !important;
}

.btn-pill-yellow {
    background: var(--up-yellow) !important;
    color: #FFFFFF !important;
    border-radius: var(--up-radius-pill) !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-pill-yellow:hover {
    background: var(--up-yellow-hover) !important;
}

/* Orders Status Filter Bar (Matching Screenshot 4) */
.orders-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.filter-pill-btn {
    padding: 8px 18px;
    border-radius: var(--up-radius-pill);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #202024;
    border: 1px solid var(--up-border);
    color: #c3c9d6;
    transition: all 0.2s;
}
.filter-pill-btn:hover {
    background: var(--up-pill-bg);
}
.filter-pill-btn.active {
    background: #000000 !important;
    color: #FFFFFF !important;
    border-color: #000000 !important;
}

/* ==============================================================================
   5. Tickets Step Cards & Tiles Grid (Matching Screenshot 1)
   ============================================================================== */

.tickets-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
@media (max-width: 768px) {
    .tickets-steps-container {
        grid-template-columns: 1fr;
    }
}

.ticket-step-block {
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    font-size: 14px;
}
.ticket-step-num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
}

.ticket-step-block.step-black {
    background: #000000;
    color: #FFFFFF;
}
.ticket-step-block.step-black .ticket-step-num {
    background: var(--up-yellow);
    color: #FFFFFF;
}

.ticket-step-block.step-yellow {
    background: var(--up-yellow);
    color: #FFFFFF;
}
.ticket-step-block.step-yellow .ticket-step-num {
    background: #000000;
    color: var(--up-yellow);
}

.ticket-step-block.step-white {
    background: #202024;
    border: 1px solid var(--up-border);
    color: #FFFFFF;
}
.ticket-step-block.step-white .ticket-step-num {
    background: var(--up-yellow);
    color: #FFFFFF;
}

/* Category Square Tiles Grid */
.ticket-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    margin: 15px 0 25px;
}
.ticket-category-tile {
    background: #202024;
    border: 1.5px solid var(--up-border);
    border-radius: 14px;
    padding: 18px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 12.5px;
    color: #FFFFFF;
}
.ticket-category-tile i {
    font-size: 24px;
    color: #FFFFFF;
}
.ticket-category-tile:hover {
    border-color: #000000;
}
.ticket-category-tile.active {
    background: #000000;
    border-color: #000000;
    color: #FFFFFF;
}
.ticket-category-tile.active i {
    color: var(--up-yellow);
}

/* ==============================================================================
   6. Add Funds Green Banner & We Accept Logos (Matching Screenshot 2)
   ============================================================================== */

.addfunds-green-banner {
    background: #000000 !important;
    border: 1.5px solid #27272A !important;
    border-inline-start: 5px solid var(--up-yellow) !important;
    color: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 18px 24px !important;
    margin-bottom: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
}
.addfunds-green-banner .banner-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #1C1917 !important;
    color: var(--up-yellow) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
    border: 1px solid #44403C !important;
}

.we-accept-showcase {
    background: #202024;
    border: 1px solid var(--up-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 25px;
    text-align: center;
}
.we-accept-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}
.we-accept-badge {
    background: #202024;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    color: #FFFFFF;
    height: 42px;
}

/* ==============================================================================
   7. Footer & Floating Action Widgets
   ============================================================================== */

.user-panel-footer {
    background: #000000;
    color: #8b93a7;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12.5px;
    margin-top: auto;
}

.user-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--up-yellow);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
}
.user-footer-socials a:hover {
    transform: translateY(-2px);
    background: var(--up-yellow-hover);
}

/* Responsive Drawer: Pinned on Desktop, Drawer on Mobile & Tablets */
@media (min-width: 1101px) {
    .user-sidebar {
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        transform: none !important;
        display: flex !important;
        flex-shrink: 0 !important;
        z-index: 100 !important;
    }
    .user-topbar .user-sidebar-toggle-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .user-sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 270px !important;
        transform: translateX(-100%) !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5) !important;
        z-index: 9999 !important;
    }
    html[dir="rtl"] .user-sidebar {
        left: auto !important;
        right: 0 !important;
        transform: translateX(100%) !important;
    }
    /* FIX: the RTL base rule above (`html[dir="rtl"] .user-sidebar`) has a
       HIGHER specificity (0,2,1) than a plain `.user-sidebar.active` (0,2,0),
       and both are `!important`. So in Arabic/RTL the open state lost the
       cascade battle and the sidebar stayed parked off-screen — the backdrop
       dimmed but no menu appeared. We add a matching RTL `.active` selector
       (0,3,1) so the open state wins and the panel actually slides in. */
    .user-sidebar.active,
    html[dir="rtl"] .user-sidebar.active {
        transform: translateX(0) !important;
    }
    .user-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9998;
    }
    .user-sidebar-backdrop.active {
        display: block;
    }
    .pill-table-header {
        display: none !important;
    }
    .service-pill-row {
        flex-wrap: wrap;
        padding: 14px 16px;
    }
    .service-pill-row > div {
        margin-bottom: 6px;
    }
}

/* ==============================================================================
   8. Pure White Crisp Theme Overrides & Guaranteed Light Layout (No Dark Leakage)
   ============================================================================== */

.user-panel-body,
body.user-panel-body {
    background-color: #F8F9FB !important;
    color: #FFFFFF !important;
}

/* Universal Typography & Headings Contrast Fix for User Panel */
.user-panel-body h1,
.user-panel-body h2,
.user-panel-body h3,
.user-panel-body h4,
.user-panel-body h5,
.user-panel-body h6,
.user-content-area h1,
.user-content-area h2,
.user-content-area h3,
.user-content-area h4,
.user-content-area h5,
.user-content-area h6 {
    color: #FFFFFF !important;
}

.user-panel-body p,
.user-content-area p {
    color: #c3c9d6;
}

.user-panel-body .card-title,
.user-content-area .card-title {
    color: #FFFFFF !important;
    font-weight: 800 !important;
}

.user-panel-body .card {
    background: #202024 !important;
    border: 1px solid var(--up-border) !important;
    border-radius: var(--up-radius-card) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    color: #FFFFFF !important;
}

/* Explicit Dark Card Exception (e.g. VIP Loyalty Tier Card) */
.user-panel-body .card.card-dark,
.user-panel-body .card[data-dark="true"] {
    background: #000000 !important;
    border: 1px solid #27272A !important;
    color: #FFFFFF !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18) !important;
}
.user-panel-body .card.card-dark h1,
.user-panel-body .card.card-dark h2,
.user-panel-body .card.card-dark h3,
.user-panel-body .card.card-dark h4,
.user-panel-body .card.card-dark strong,
.user-panel-body .card[data-dark="true"] h1,
.user-panel-body .card[data-dark="true"] h2,
.user-panel-body .card[data-dark="true"] h3,
.user-panel-body .card[data-dark="true"] h4,
.user-panel-body .card[data-dark="true"] strong {
    color: #FFFFFF !important;
}
.user-panel-body .card.card-dark p,
.user-panel-body .card[data-dark="true"] p {
    color: #8b93a7 !important;
}

/* Suppress dragon fiery top border line from style.min.css */
.user-panel-body .card::before,
.user-panel-body .card::after {
    display: none !important;
    opacity: 0 !important;
    content: none !important;
}

/* Stat Cards in User Dashboard */
.user-panel-body .stat-card {
    background: #202024 !important;
    border: 1.5px solid var(--up-border) !important;
    border-radius: var(--up-radius-card) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    color: #FFFFFF !important;
}
.user-panel-body .stat-card .stat-label {
    color: #8b93a7 !important;
    font-weight: 700 !important;
}
.user-panel-body .stat-card .stat-value {
    color: #FFFFFF !important;
    font-weight: 900 !important;
}

.user-panel-body .form-control,
.user-panel-body .form-select,
.user-panel-body select,
.user-panel-body input[type="text"],
.user-panel-body input[type="number"],
.user-panel-body input[type="email"],
.user-panel-body input[type="password"] {
    background-color: #202024 !important;
    border: 1.5px solid var(--up-border) !important;
    border-radius: var(--up-radius-pill) !important;
    color: #FFFFFF !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

/* Disabled & Readonly Input Fields (High Contrast & Clear Readability) */
.user-panel-body .form-control:disabled,
.user-panel-body .form-control[readonly],
.user-panel-body input:disabled,
.user-panel-body input[readonly],
.user-panel-body select:disabled {
    background-color: #F3F4F6 !important;
    border-color: rgba(255,255,255,.10) !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

.user-panel-body .form-control::placeholder,
.user-panel-body input::placeholder {
    color: #8b93a7 !important;
    font-weight: 500 !important;
}

.user-panel-body textarea.form-control,
.user-panel-body textarea {
    background-color: #202024 !important;
    border: 1.5px solid var(--up-border) !important;
    border-radius: 16px !important;
    color: #FFFFFF !important;
    padding: 14px 18px !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
}

.user-panel-body .form-control:focus,
.user-panel-body .form-select:focus,
.user-panel-body select:focus,
.user-panel-body textarea:focus {
    border-color: #28cb69 !important;
    box-shadow: 0 0 0 3px rgba(40, 203, 105, 0.25) !important;
    background-color: #202024 !important;
    color: #FFFFFF !important;
}

.user-panel-body .form-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Tables inside User Panel */
.user-panel-body .table {
    color: #FFFFFF !important;
}
.user-panel-body .table thead tr th {
    background: #000000 !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    border: none !important;
}
.user-panel-body .table tbody tr td {
    color: #FFFFFF !important;
    border-bottom: 1px solid var(--up-border) !important;
}

/* Fix generic .btn-primary in User Panel to match Cyber Yellow & Solid Black theme */
.user-panel-body .btn-primary:not(.btn-keep-custom) {
    background: #000000 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: var(--up-radius-pill) !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease !important;
}
.user-panel-body .btn-primary:not(.btn-keep-custom):hover {
    background: #27272A !important;
    color: #28cb69 !important;
    transform: translateY(-1px) !important;
}

.user-panel-body .btn-gold {
    background: var(--up-yellow) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: var(--up-radius-pill) !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(40, 203, 105, 0.25) !important;
    transition: all 0.2s ease !important;
}
.user-panel-body .btn-gold:hover {
    background: var(--up-yellow-hover) !important;
    transform: translateY(-1px) !important;
}

/* Platform Filter Pills in User Panel */
.user-panel-body .platform-pill {
    background: #202024 !important;
    border: 1.5px solid var(--up-border) !important;
    color: #FFFFFF !important;
    border-radius: var(--up-radius-pill) !important;
    padding: 8px 18px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}
.user-panel-body .platform-pill:hover {
    border-color: #000000 !important;
    transform: translateY(-1px) !important;
}
.user-panel-body .platform-pill.active {
    background: #000000 !important;
    border-color: #000000 !important;
    color: var(--up-yellow) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* ==============================================================================
   9. Social Network Filter Section (Matches Image 1 Reference Design)
   ============================================================================== */

.social-network-filter-section,
.social-network-section {
    margin-bottom: 28px;
}

.social-filter-header,
.social-network-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.social-filter-title,
.social-network-title {
    font-size: 20px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

/* Yellow Pill Button for Hide the Filter */
.btn-toggle-filter {
    background: var(--up-yellow) !important;
    color: #FFFFFF !important;
    border-radius: var(--up-radius-pill) !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(40, 203, 105, 0.25) !important;
    outline: none !important;
}
.btn-toggle-filter:hover {
    background: var(--up-yellow-hover) !important;
    transform: translateY(-1px);
}

/* Horizontal Scrollable Row for Circular Platform Icons */
.social-net-grid,
.social-network-grid {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    overflow-x: auto !important;
    padding: 6px 4px 18px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
}
.social-net-grid::-webkit-scrollbar,
.social-network-grid::-webkit-scrollbar {
    display: none !important;
}

/* Reset ALL default button styles and eliminate borders completely */
.social-net-item,
button.social-net-item,
a.social-net-item {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    min-width: 58px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
    user-select: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.social-net-item:hover,
button.social-net-item:hover {
    transform: translateY(-3px) !important;
    border: none !important;
    background: transparent !important;
}
/* Neutralize .btn-outline if added */
.social-net-item.btn-outline,
button.social-net-item.btn-outline {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Circular Icon Badges */
.social-net-circle {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}
.social-net-item.active .social-net-circle {
    transform: scale(1.08) !important;
    box-shadow: 0 0 0 3px #28cb69, 0 6px 16px rgba(0, 0, 0, 0.18) !important;
}

/* Label Under Icon */
.social-net-name,
.social-net-label {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #c3c9d6 !important;
    text-align: center !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px !important;
    transition: color 0.2s ease !important;
}
.social-net-item.active .social-net-name,
.social-net-item.active .social-net-label {
    color: #FFFFFF !important;
    font-weight: 800 !important;
}

/* Platform-specific gradient & color circles */
.social-circle-fb { background: #1877F2 !important; color: #FFF !important; }
.social-circle-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important; color: #FFF !important; }
.social-circle-tt { background: #000000 !important; color: #FFF !important; }
.social-circle-yt { background: #FF0000 !important; color: #FFF !important; }
.social-circle-tw { background: #000000 !important; color: #FFF !important; }
.social-net-circle svg {
    width: 17px !important;
    height: 17px !important;
    fill: currentColor !important;
    display: block !important;
    margin: auto !important;
}
.social-circle-tw svg {
    fill: #202024 !important;
}
.social-circle-sp { background: #1DB954 !important; color: #FFF !important; }
.social-circle-sc { background: #FFFC00 !important; color: #FFFFFF !important; }
.social-circle-li { background: #0A66C2 !important; color: #FFF !important; }
.social-circle-tg { background: #0088CC !important; color: #FFF !important; }
.social-circle-dc { background: #5865F2 !important; color: #FFF !important; }
.social-circle-twc { background: #9146FF !important; color: #FFF !important; }
.social-circle-web { background: #28cb69 !important; color: #FFF !important; }
.social-circle-rev { background: #f79e1b !important; color: #FFF !important; }
.social-circle-gg { background: #EA4335 !important; color: #FFF !important; }
.social-circle-all { background: #e93e3e !important; color: #FFF !important; }

/* ==============================================================================
   10. Pill Tabs (New Order, Subscriptions, Favorites, Info, Read)
   ============================================================================== */

.tab-pills-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.tab-pill-black,
button.tab-pill-black,
a.tab-pill-black {
    background: #000000 !important;
    color: #FFFFFF !important;
    border-radius: var(--up-radius-pill) !important;
    padding: 9px 24px !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}
.tab-pill-black:hover,
button.tab-pill-black:hover,
a.tab-pill-black:hover {
    background: #27272A !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.tab-pill-yellow,
button.tab-pill-yellow,
a.tab-pill-yellow {
    background: var(--up-yellow) !important;
    color: #FFFFFF !important;
    border-radius: var(--up-radius-pill) !important;
    padding: 9px 24px !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 2px 8px rgba(40, 203, 105, 0.25) !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}
.tab-pill-yellow:hover,
button.tab-pill-yellow:hover,
a.tab-pill-yellow:hover {
    background: var(--up-yellow-hover) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

/* Two Column Grid for User Panel */
.responsive-grid-2col {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 25px;
}
@media (max-width: 991px) {
    .responsive-grid-2col {
        grid-template-columns: 1fr;
    }
}

/* ==============================================================================
   Seoclevers Light Blue Override — unify user panel with homepage theme
   ============================================================================== */
.user-sidebar {
    background: #202024 !important;
    border-inline-end: 1px solid #eaf2f8;
    box-shadow: 4px 0 24px rgba(41,169,245,.07);
}
.user-sidebar-item a { color: #33475f !important; font-weight: 700; border-radius: 14px; }
.user-sidebar-item a i { color: #29a9f5 !important; }
.user-sidebar-item:not(.active) a:hover { background: #e8f6ff !important; color: #FFFFFF !important; }
.user-sidebar-item.active a { background: linear-gradient(135deg,#29a9f5,#3ec1ff) !important; color: #fff !important; font-weight: 800 !important; box-shadow: 0 8px 20px rgba(41,169,245,.35) !important; }
.user-sidebar-item.active a i { color: #fff !important; }
.user-sidebar-more-btn { background: #e8f6ff !important; color: #FFFFFF !important; border-radius: 14px; }
.user-sidebar-more-btn:hover { background: #d6efff !important; }
.user-sidebar-toggle-btn { color: #FFFFFF !important; }
.user-action-circle.yellow, .tab-pill-yellow, button.tab-pill-yellow, a.tab-pill-yellow {
    background: linear-gradient(135deg,#29a9f5,#3ec1ff) !important; color: #fff !important;
    box-shadow: 0 8px 20px rgba(41,169,245,.35) !important; border-radius: 12px !important;
}
.user-action-circle.black, .tab-pill-black, button.tab-pill-black, a.tab-pill-black {
    background: #202024 !important; color: #fff !important; border-radius: 12px !important;
}
.stat-card-status { background: linear-gradient(135deg,#202024,#5b3aa8) !important; border-radius: 15px !important; }
.stat-card-status .status-sub i, .stat-card-status .status-tag { color: #7cc7ff !important; }
.stat-card-points { background: linear-gradient(135deg,#29a9f5,#5ccbff) !important; border-radius: 15px !important; }
.stat-card-points .points-tag, .stat-card-points .points-val { color: #fff !important; }
.stat-card-points .btn-redeem { background: #fff !important; color: #0d8ce0 !important; border-radius: 12px !important; }
.stat-card-white, .user-stats-grid > div { border-radius: 15px !important; box-shadow: 0 10px 40px rgba(41,169,245,.12) !important; border: 1px solid #eaf2f8 !important; }
.btn-signin-pill, .btn-primary-panel { background: linear-gradient(135deg,#29a9f5,#3ec1ff) !important; color:#fff !important; border-radius:12px !important; }
.user-topbar { background: #fff !important; border-bottom: 1px solid #eaf2f8 !important; }
.status-progress-ring { border-color: rgba(255,255,255,.2) !important; border-top-color: #29a9f5 !important; color:#fff !important; }



/* ==============================================================================
   ===  DARK PURPLE THEME OVERRIDE (1xPanel style)  ===
   Appended last so it wins over the legacy blue overrides above.
   Palette: #1a1a1d page · #202024 card · #131313 input · #28cb69 / #0fac4e accent
   ============================================================================== */

.user-panel-layout,
.user-main-wrapper,
.user-content-area { background: #1a1a1d !important; color: #c3c9d6 !important; }

/* ---------- sidebar ---------- */
.user-sidebar { background: #131313 !important; border-inline-end: 1px solid rgba(255,255,255,.07) !important; }
.user-sidebar-toggle-btn { color: #c3c9d6 !important; }
.user-sidebar-item a { color: #c3c9d6 !important; border-radius: 12px !important; }
.user-sidebar-item a i { color: #7bf0a8 !important; }
.user-sidebar-item:not(.active) a:hover { background: rgba(40, 203, 105,.12) !important; color: #fff !important; }
.user-sidebar-item.active a {
    background: linear-gradient(135deg,#28cb69,#0fac4e) !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(40, 203, 105,.4) !important;
    border-radius: 12px !important;
}
.user-sidebar-item.active a i { color: #fff !important; }
.user-sidebar-more-btn { background: #1c2434 !important; color: #c3c9d6 !important; border-radius: 12px !important; }
.user-sidebar-more-btn:hover { background: rgba(40, 203, 105,.16) !important; color: #fff !important; }
.user-sidebar-backdrop { background: rgba(0,0,0,.65) !important; }

/* ---------- topbar ---------- */
.user-topbar {
    background: rgba(23,31,46,.92) !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.35) !important;
    backdrop-filter: blur(12px) !important;
}
.user-topbar-pill { background: rgba(40, 203, 105,.12) !important; color: #c3c9d6 !important; border: 1px solid rgba(40, 203, 105,.22) !important; }
.user-topbar-pill b, .user-topbar-pill strong { color: #fff !important; }
.balance-toggle-btn { color: #8b93a7 !important; }
.balance-toggle-btn:hover { color: #7bf0a8 !important; }
.user-topbar-search input { background: #131313 !important; color: #fff !important; border: 1px solid rgba(255,255,255,.08) !important; }
.user-topbar-search input::placeholder { color: #6f7789 !important; }
.user-topbar-search i { color: #8b93a7 !important; }
.user-action-circle.yellow, .tab-pill-yellow, button.tab-pill-yellow, a.tab-pill-yellow {
    background: linear-gradient(135deg,#28cb69,#0fac4e) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(40, 203, 105,.38) !important;
    border-radius: 12px !important;
}
.user-action-circle.black, .tab-pill-black, button.tab-pill-black, a.tab-pill-black {
    background: #131313 !important; color: #7bf0a8 !important;
    border: 1px solid rgba(255,255,255,.1) !important; border-radius: 12px !important;
}
.user-action-circle.black:hover { background: rgba(40, 203, 105,.16) !important; }
.user-currency-dropdown-menu, .user-lang-dropdown-menu {
    background: #202024 !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    box-shadow: 0 24px 60px rgba(0,0,0,.55) !important;
    color: #c3c9d6 !important;
}
.user-currency-dropdown-menu a, .user-lang-dropdown-menu a { color: #c3c9d6 !important; }
.user-currency-dropdown-menu a:hover, .user-lang-dropdown-menu a:hover { background: rgba(40, 203, 105,.12) !important; color: #fff !important; }

/* ---------- cards ---------- */
.user-panel-body .card,
.user-panel-body .stat-card,
.stat-card-white,
.user-stats-grid > div {
    background: #202024 !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-radius: 15px !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.35) !important;
    color: #c3c9d6 !important;
}
.user-panel-body .card::after { background: rgba(40, 203, 105,.06) !important; }
.user-panel-body .card-title, .user-content-area .card-title,
.user-content-area h1, .user-content-area h2, .user-content-area h3,
.user-content-area h4, .user-content-area h5, .user-content-area h6,
.user-panel-body .card h1, .user-panel-body .card h2,
.user-panel-body .card h3, .user-panel-body .card h4,
.user-panel-body .card strong { color: #fff !important; }
.user-content-area p, .user-panel-body .card p { color: #8b93a7 !important; }
.stat-card-white .white-val { color: #fff !important; }
.stat-card-white .white-tag { color: #8b93a7 !important; }
.stat-card-status { background: linear-gradient(135deg,#131313,#1c2434) !important; border: 1px solid rgba(255,255,255,.07) !important; }
.stat-card-status .status-sub i, .stat-card-status .status-tag { color: #7bf0a8 !important; }
.stat-card-status .status-sub { color: #8b93a7 !important; }
.status-progress-ring { border-color: rgba(255,255,255,.15) !important; border-top-color: #28cb69 !important; color: #fff !important; }
.stat-card-points { background: linear-gradient(135deg,#28cb69,#0fac4e) !important; box-shadow: 0 12px 32px rgba(40, 203, 105,.38) !important; }
.stat-card-points .points-tag, .stat-card-points .points-val { color: #fff !important; }
.stat-card-points .btn-redeem { background: #131313 !important; color: #fff !important; border-radius: 12px !important; }
.stat-card-points .btn-redeem:hover { background: #1c2434 !important; }

/* ---------- tables ---------- */
.user-panel-body .table { color: #c3c9d6 !important; background: transparent !important; }
.user-panel-body .table thead tr th {
    background: #131313 !important; color: #fff !important;
    border-color: rgba(255,255,255,.08) !important;
}
.user-panel-body .table tbody tr td { border-color: rgba(255,255,255,.06) !important; color: #c3c9d6 !important; }
.user-panel-body .table tbody tr:hover { background: rgba(40, 203, 105,.06) !important; }
.pill-table-header { background: #131313 !important; color: #fff !important; border: 1px solid rgba(255,255,255,.07) !important; }
.category-pill-banner { background: linear-gradient(135deg,#28cb69,#0fac4e) !important; color: #fff !important; }
.service-pill-row {
    background: #202024 !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    color: #c3c9d6 !important;
}
.service-pill-row:hover { border-color: rgba(40, 203, 105,.45) !important; box-shadow: 0 10px 26px rgba(0,0,0,.4) !important; }
.service-pill-row b, .service-pill-row strong { color: #fff !important; }
.service-id-badge { background: #131313 !important; color: #7bf0a8 !important; border: 1px solid rgba(255,255,255,.1) !important; }
.btn-pill-black { background: #131313 !important; color: #fff !important; border: 1px solid rgba(255,255,255,.1) !important; }
.btn-pill-black:hover { background: rgba(40, 203, 105,.16) !important; }
.btn-pill-yellow { background: linear-gradient(135deg,#28cb69,#0fac4e) !important; color: #fff !important; box-shadow: 0 6px 18px rgba(40, 203, 105,.35) !important; }
.btn-pill-yellow:hover { background: linear-gradient(135deg,#0fac4e,#28cb69) !important; }
.filter-pill-btn {
    background: #202024 !important; border: 1px solid rgba(255,255,255,.08) !important;
    color: #c3c9d6 !important;
}
.filter-pill-btn:hover { background: rgba(40, 203, 105,.12) !important; color: #fff !important; }
.filter-pill-btn.active {
    background: linear-gradient(135deg,#28cb69,#0fac4e) !important;
    color: #fff !important; border-color: transparent !important;
    box-shadow: 0 6px 18px rgba(40, 203, 105,.35) !important;
}

/* ---------- buttons ---------- */
.btn-signin-pill, .btn-primary-panel,
.user-panel-body .btn-primary:not(.btn-keep-custom),
.user-panel-body .btn-gold {
    background: linear-gradient(135deg,#28cb69,#0fac4e) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 22px rgba(40, 203, 105,.36) !important;
}
.btn-signin-pill:hover, .btn-primary-panel:hover,
.user-panel-body .btn-primary:not(.btn-keep-custom):hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(40, 203, 105,.48) !important; }

/* ---------- tickets / steps ---------- */
.ticket-step-block.step-black { background: #131313 !important; color: #fff !important; border: 1px solid rgba(255,255,255,.07) !important; }
.ticket-step-block.step-black .ticket-step-num { background: #28cb69 !important; color: #fff !important; }
.ticket-step-block.step-yellow { background: linear-gradient(135deg,#28cb69,#0fac4e) !important; color: #fff !important; }
.ticket-step-block.step-yellow .ticket-step-num { background: #131313 !important; color: #7bf0a8 !important; }
.ticket-step-block.step-white { background: #202024 !important; border: 1px solid rgba(255,255,255,.07) !important; color: #c3c9d6 !important; }
.ticket-step-block.step-white .ticket-step-num { background: #28cb69 !important; color: #fff !important; }
.ticket-category-tile {
    background: #202024 !important;
    border: 1.5px solid rgba(255,255,255,.08) !important;
    color: #c3c9d6 !important;
}
.ticket-category-tile i { color: #7bf0a8 !important; }
.ticket-category-tile:hover { border-color: rgba(40, 203, 105,.5) !important; }
.ticket-category-tile.active {
    background: linear-gradient(135deg,#28cb69,#0fac4e) !important;
    border-color: transparent !important; color: #fff !important;
}
.ticket-category-tile.active i { color: #fff !important; }

/* ---------- add funds / we accept ---------- */
.addfunds-green-banner {
    background: #202024 !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-inline-start: 5px solid #28cb69 !important;
    color: #c3c9d6 !important;
}
.addfunds-green-banner .banner-icon { background: rgba(40, 203, 105,.14) !important; color: #7bf0a8 !important; }
.addfunds-green-banner strong, .addfunds-green-banner b { color: #fff !important; }
.we-accept-showcase { background: #202024 !important; border: 1px solid rgba(255,255,255,.07) !important; }
.we-accept-badge {
    background: #131313 !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    color: #c3c9d6 !important;
}

/* ---------- social / network circles ---------- */
.social-net-circle { background: #1c2434 !important; border: 1px solid rgba(255,255,255,.08) !important; }
.social-net-item.active .social-net-circle {
    background: linear-gradient(135deg,#28cb69,#0fac4e) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(40, 203, 105,.38) !important;
}
.social-net-item.active .social-net-label { color: #7bf0a8 !important; }
.social-net-label, .social-network-title { color: #c3c9d6 !important; }

/* ---------- forms ---------- */
.user-panel-body input, .user-panel-body select, .user-panel-body textarea,
.user-panel-body .form-control {
    background-color: #131313 !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    color: #fff !important;
    border-radius: 12px !important;
}
.user-panel-body input::placeholder, .user-panel-body textarea::placeholder { color: #6f7789 !important; }
.user-panel-body input:focus, .user-panel-body select:focus,
.user-panel-body textarea:focus, .user-panel-body .form-control:focus {
    border-color: #28cb69 !important;
    box-shadow: 0 0 0 3px rgba(40, 203, 105,.18) !important;
}
.user-panel-body .form-label, .user-panel-body label { color: #c3c9d6 !important; }
.user-panel-body select:disabled { background: #131313 !important; color: #6f7789 !important; }
.user-panel-body select option { background: #131313; color: #fff; }

/* ---------- footer / misc ---------- */
.user-panel-footer { background: #131313 !important; color: #8b93a7 !important; border-top: 1px solid rgba(255,255,255,.07) !important; }
.user-panel-footer a { color: #c3c9d6 !important; }
.user-panel-footer a:hover { color: #7bf0a8 !important; }
.user-footer-socials a { background: #202024 !important; color: #7bf0a8 !important; border: 1px solid rgba(255,255,255,.08) !important; }
.user-footer-socials a:hover { background: #28cb69 !important; color: #fff !important; }

/* ---------- badges / alerts inside the panel ---------- */
.user-panel-body .badge, .user-panel-body .pill {
    background: rgba(40, 203, 105,.14) !important;
    color: #7bf0a8 !important;
    border: 1px solid rgba(40, 203, 105,.28) !important;
}
.user-panel-body .alert-success { background: rgba(47,205,148,.12) !important; border-color: rgba(47,205,148,.4) !important; color: #6ff0be !important; }
.user-panel-body .alert-danger { background: rgba(233,62,62,.12) !important; border-color: rgba(233,62,62,.4) !important; color: #ff9c9c !important; }
.user-panel-body .alert-warning { background: rgba(247,158,27,.12) !important; border-color: rgba(247,158,27,.4) !important; color: #ffc97a !important; }
.user-panel-body .alert-info { background: rgba(40, 203, 105,.12) !important; border-color: rgba(40, 203, 105,.4) !important; color: #d9b8ff !important; }
.user-panel-body .modal-content, .user-panel-body .dropdown-menu {
    background: #202024 !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    color: #c3c9d6 !important;
    box-shadow: 0 24px 60px rgba(0,0,0,.55) !important;
}
.user-panel-body hr { border-color: rgba(255,255,255,.07) !important; }
.user-panel-body .text-muted { color: #8b93a7 !important; }
.user-panel-body .bg-white, .user-panel-body .bg-light { background-color: #202024 !important; }

/* ==============================================================================
   ===  NEUTRALISE HARDCODED LIGHT INLINE STYLES  ===
   Many panel templates carry inline `style="background:#202024;color:#FFFFFF"`.
   These attribute selectors (with !important) outrank inline non-important
   declarations, so the dark theme wins without touching the PHP templates.
   Only `background:` / `color:` / `border-color:` prefixed values are matched,
   so purple gradient buttons are left untouched.
   ============================================================================== */

/* --- light surfaces -> dark surfaces --- */
[style*="background: #FFFFFF"], [style*="background:#FFFFFF"],
[style*="background: #FFFFFF"], [style*="background:#FFFFFF"],
[style*="background: #FFFFFF"], [style*="background:#FFFFFF"],
[style*="background: #F3F4F6"], [style*="background:#F3F4F6"],
[style*="background: #F5F3FF"], [style*="background:#F5F3FF"],
[style*="background: #EFF6FF"], [style*="background:#EFF6FF"],
[style*="background: #FBFDFE"], [style*="background:#FBFDFE"],
[style*="background: #FFF !important"], [style*="background: #FFF !important"] {
    background-color: #202024 !important;
    background-image: none !important;
}

/* --- light amber / green info boxes -> dark tinted --- */
[style*="background: #FFFBE6"], [style*="background:#FFFBE6"],
[style*="background: #FEF08A"], [style*="background:#FEF08A"] {
    background-color: rgba(247, 158, 27, 0.12) !important;
    background-image: none !important;
}
[style*="background: #ECFDF5"], [style*="background:#ECFDF5"] {
    background-color: rgba(47, 205, 148, 0.12) !important;
    background-image: none !important;
}
[style*="background: rgba(255, 230, 0"], [style*="background: rgba(255,230,0"] {
    background-color: rgba(40, 203, 105, 0.12) !important;
    background-image: none !important;
}

/* --- legacy cyber-yellow accents -> purple --- */
[style*="background: #FFE600"], [style*="background:#FFE600"],
[style*="background: #FFE600"], [style*="background:#FFE600"],
[style*="background: #FDF001 !important"], [style*="background:#FDF001 !important"] {
    background-color: #28cb69 !important;
    background-image: linear-gradient(135deg, #28cb69, #0fac4e) !important;
    color: #FFFFFF !important;
}

/* --- dark text on light surfaces -> light text --- */
[style*="color: #131313"], [style*="color:#131313"],
[style*="color: #131313"], [style*="color:#131313"],
[style*="color: #131313"], [style*="color:#131313"],
[style*="color: #131313"], [style*="color:#131313"],
[style*="color: #4B5563"], [style*="color:#4B5563"],
[style*="color: #4B5563"], [style*="color:#4B5563"],
[style*="color: #9CA3AF"], [style*="color:#9CA3AF"],
[style*="color: #131313"], [style*="color:#131313"],
[style*="color: #000000"], [style*="color:#000000"] {
    color: #FFFFFF !important;
}
[style*="color: #92400E"], [style*="color:#92400E"],
[style*="color: #D97706"], [style*="color:#D97706"] {
    color: #ffc97a !important;
}
[style*="color: #9CA3AF"], [style*="color:#9CA3AF"],
[style*="color: #9CA3AF"], [style*="color:#9CA3AF"] {
    color: #8b93a7 !important;
}

/* --- light borders -> subtle dark borders --- */
[style*="border: 1.5px solid rgba(255,255,255,.10)"], [style*="border: 1px solid rgba(255,255,255,.10)"],
[style*="border: 1.5px solid #F3F4F6"], [style*="border: 1px solid #F3F4F6"],
[style*="border-color: rgba(255,255,255,.10)"], [style*="border-color:rgba(255,255,255,.10)"],
[style*="border: 1px solid rgba(247,158,27,.25)"], [style*="border: 1.5px solid rgba(247,158,27,.25)"],
[style*="border-color: rgba(247,158,27,.25)"], [style*="border-color:rgba(247,158,27,.25)"] {
    border-color: rgba(255, 255, 255, 0.1) !important;
}
[style*="border-color: #C4B5FD"], [style*="border-color:#C4B5FD"],
[style*="border: 1px solid #EDE9FE"] {
    border-color: rgba(40, 203, 105, 0.45) !important;
}
[style*="background: #FFFFFF"][style*="color: #131313"],
[style*="background: #FFFFFF"][style*="color:#131313"] {
    background-color: #131313 !important;
    color: #FFFFFF !important;
}

/* --- exceptions: keep light surfaces where they are functionally required --- */
#binanceQrWrapper, [id$="QrWrapper"], [id*="QrBox"], [id*="qrBox"] {
    background-color: #FFFFFF !important;
}

/* --- `background-color:` variants (some templates use the long form) --- */
[style*="background-color: #FFFFFF"], [style*="background-color:#FFFFFF"],
[style*="background-color: #FFFFFF"], [style*="background-color:#FFFFFF"],
[style*="background-color: #FFFFFF"], [style*="background-color:#FFFFFF"],
[style*="background-color: #F3F4F6"], [style*="background-color:#F3F4F6"],
[style*="background-color: #F5F3FF"], [style*="background-color:#F5F3FF"],
[style*="background-color: #FBFDFE"], [style*="background-color:#FBFDFE"],
[style*="background-color: rgba(247,158,27,.12)"], [style*="background-color:rgba(247,158,27,.12)"],
[style*="background-color: white"], [style*="background-color:white"] {
    background-color: #131313 !important;
    background-image: none !important;
}
/* keep readable text on the neutralised dark surfaces */
[style*="background-color: #FFFFFF"][style*="color:"],
[style*="background: #FFFFFF"][style*="color:"] { color: #FFFFFF !important; }

/* --- high-specificity input overrides (the legacy rule uses input[type="…"]) --- */
.user-panel-body input[type="text"],
.user-panel-body input[type="number"],
.user-panel-body input[type="email"],
.user-panel-body input[type="password"],
.user-panel-body input[type="search"],
.user-panel-body input[type="tel"],
.user-panel-body input[type="url"],
.user-panel-body input[type="date"],
.user-panel-body input[type="time"],
.user-panel-body input[type="datetime-local"],
.user-panel-body input:not([type]),
.user-panel-body .form-select,
.user-panel-body textarea.form-control {
    background-color: #131313 !important;
    background: #131313 !important;
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.10) !important;
}
.user-panel-body input[type="text"]::placeholder,
.user-panel-body input[type="search"]::placeholder,
.user-panel-body input[type="email"]::placeholder,
.user-panel-body input[type="number"]::placeholder,
.user-panel-body input[type="password"]::placeholder,
.user-panel-body input:not([type])::placeholder { color: #6f7789 !important; }
.user-panel-body input[type="text"]:focus,
.user-panel-body input[type="search"]:focus,
.user-panel-body input[type="number"]:focus,
.user-panel-body input[type="email"]:focus,
.user-panel-body input[type="password"]:focus,
.user-panel-body .form-select:focus {
    border-color: #28cb69 !important;
    box-shadow: 0 0 0 3px rgba(40, 203, 105, .18) !important;
}
.user-panel-body select option { background-color: #131313 !important; color: #FFFFFF !important; }

/* --- 3-digit short hex variants (#fff / #FFF) --- */
[style*="background: #FFF;"], [style*="background:#FFF;"],
[style*="background: #fff;"], [style*="background:#fff;"],
[style*="background: #FFF "], [style*="background:#FFF "],
[style*="background: #fff "], [style*="background:#fff "],
[style*="background-color: #FFF;"], [style*="background-color:#FFF;"],
[style*="background-color: #fff;"], [style*="background-color:#fff;"] {
    background-color: #202024 !important;
    background-image: none !important;
}

/* --- platform filter pills (packages / services) --- */
.user-panel-body .platform-pill {
    background: #202024 !important;
    border: 1.5px solid rgba(255, 255, 255, .08) !important;
    color: #c3c9d6 !important;
    border-radius: 10px !important;
    padding: 9px 18px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: .18s ease !important;
}
.user-panel-body .platform-pill i { color: #8b93a7 !important; }
.user-panel-body .platform-pill:hover {
    border-color: #28cb69 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
}
.user-panel-body .platform-pill:hover i { color: #7bf0a8 !important; }
.user-panel-body .platform-pill.active {
    background: linear-gradient(135deg, #28cb69, #0fac4e) !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px rgba(40, 203, 105, .35) !important;
}
.user-panel-body .platform-pill.active i { color: #FFFFFF !important; }


/* ==========================================================================
   INLINE-STYLE NEUTRALISER (rebuilt — complete form coverage)
   PHP templates carry hard-coded light colours inline. `!important` in a
   stylesheet beats a NON-important inline style, so matching on the raw
   inline string neutralises them without touching the templates.
   Covers: #FFF / #fff / #FFFFFF / #ffffff · background: and background-color:
   · with and without a space after the colon · solid and dashed borders.
   ========================================================================== */

/* --- light surfaces -> dark (whites) ------------------------------------- */
[style*="background: #FFF"], [style*="background:#FFF"],
[style*="background: #fff"], [style*="background:#fff"],
[style*="background: #FFFFFF"], [style*="background:#FFFFFF"],
[style*="background: #ffffff"], [style*="background:#ffffff"],
[style*="background-color: #FFF"], [style*="background-color:#FFF"],
[style*="background-color: #fff"], [style*="background-color:#fff"],
[style*="background-color: #FFFFFF"], [style*="background-color:#FFFFFF"],
[style*="background-color: #ffffff"], [style*="background-color:#ffffff"],
[style*="background: white"], [style*="background:white"],
[style*="background: #FAFAFA"], [style*="background:#FAFAFA"],
[style*="background: #F9FAFB"], [style*="background:#F9FAFB"],
[style*="background: #F8FAFC"], [style*="background:#F8FAFC"],
[style*="background: #F8F9FA"], [style*="background:#F8F9FA"],
[style*="background: #F3F4F6"], [style*="background:#F3F4F6"],
[style*="background: #F1F5F9"], [style*="background:#F1F5F9"],
[style*="background: #FBFDFE"], [style*="background:#FBFDFE"],
[style*="background: #F5F3FF"], [style*="background:#F5F3FF"],
[style*="background: #EFF6FF"], [style*="background:#EFF6FF"],
[style*="background: #202024"], [style*="background:#202024"],
[style*="background: #E5E7EB"], [style*="background:#E5E7EB"],
[style*="background: #202024"], [style*="background:#202024"],
[style*="background-color: #F9FAFB"], [style*="background-color:#F9FAFB"],
[style*="background-color: #F8FAFC"], [style*="background-color:#F8FAFC"],
[style*="background-color: #F3F4F6"], [style*="background-color:#F3F4F6"],
[style*="background-color: #F5F3FF"], [style*="background-color:#F5F3FF"],
[style*="background-color: #EFF6FF"], [style*="background-color:#EFF6FF"],
[style*="background-color: #FBFDFE"], [style*="background-color:#FBFDFE"],
[style*="background-color: #FFFBE6"], [style*="background-color:#FFFBE6"],
[style*="background: #FFFFFF !important"], [style*="background:#FFFFFF !important"],
[style*="background: #FFF !important"], [style*="background:#FFF !important"],
[style*="background-color: #FFFFFF !important"], [style*="background-color:#FFFFFF !important"],
[style*="background-color: #FFF !important"], [style*="background-color:#FFF !important"] {
    background-color: #202024 !important;
    background-image: none !important;
}

/* --- amber / green info panels -> dark tints (must follow the whites) ---- */
[style*="background: #FFFBE6"], [style*="background:#FFFBE6"],
[style*="background-color: #FFFBE6"], [style*="background-color:#FFFBE6"],
[style*="background: #FEF08A"], [style*="background:#FEF08A"],
[style*="background: #FEF3C7"], [style*="background:#FEF3C7"],
[style*="background: #FFFBEB"], [style*="background:#FFFBEB"] {
    background-color: rgba(247, 158, 27, .12) !important;
    background-image: none !important;
}
[style*="background: #ECFDF5"], [style*="background:#ECFDF5"],
[style*="background: #D1FAE5"], [style*="background:#D1FAE5"] {
    background-color: rgba(47, 205, 148, .12) !important;
    background-image: none !important;
}
[style*="background: #EFF6FF"], [style*="background:#EFF6FF"],
[style*="background: #DBEAFE"], [style*="background:#DBEAFE"],
[style*="background: #E0F2FE"], [style*="background:#E0F2FE"] {
    background-color: rgba(40, 203, 105, .12) !important;
    background-image: none !important;
}
[style*="background: #FEE2E2"], [style*="background:#FEE2E2"],
[style*="background: #FEF2F2"], [style*="background:#FEF2F2"] {
    background-color: rgba(233, 62, 62, .12) !important;
    background-image: none !important;
}

/* --- dark text on light surfaces -> light text --------------------------- */
[style*="color: #131313"], [style*="color:#131313"],
[style*="color: #1F2937"], [style*="color:#1F2937"],
[style*="color: #0F172A"], [style*="color:#0F172A"],
[style*="color: #0f2b46"], [style*="color:#0f2b46"],
[style*="color: #102a43"], [style*="color:#102a43"],
[style*="color: #374151"], [style*="color:#374151"],
[style*="color: #4B5563"], [style*="color:#4B5563"],
[style*="color: #555"], [style*="color:#555"],
[style*="color: #333"], [style*="color:#333"],
[style*="color: #666"], [style*="color:#666"],
[style*="color: #000000"], [style*="color:#000000"],
[style*="color: #000;"], [style*="color:#000;"],
[style*="color: black"], [style*="color:black"] {
    color: #ffffff !important;
}
[style*="color: #6B7280"], [style*="color:#6B7280"],
[style*="color: #64748B"], [style*="color:#64748B"],
[style*="color: #7B90A7"], [style*="color:#7B90A7"],
[style*="color: #94A3B8"], [style*="color:#94A3B8"] {
    color: #8b93a7 !important;
}
[style*="color: #9CA3AF"], [style*="color:#9CA3AF"],
[style*="color: #CBD5E1"], [style*="color:#CBD5E1"] {
    color: #c3c9d6 !important;
}
[style*="color: #92400E"], [style*="color:#92400E"],
[style*="color: #B45309"], [style*="color:#B45309"],
[style*="color: #D97706"], [style*="color:#D97706"] {
    color: #ffc97a !important;
}

/* --- light borders (solid + dashed) -> subtle dark ----------------------- */
[style*="solid #E5E7EB"], [style*="solid#E5E7EB"],
[style*="solid #e5e7eb"], [style*="solid#e5e7eb"],
[style*="solid #E7EFF6"], [style*="solid #e7eff6"],
[style*="solid #EEF4FA"], [style*="solid #eef4fa"],
[style*="solid #F3F4F6"], [style*="solid #f3f4f6"],
[style*="solid #FDE68A"], [style*="solid #fde68a"],
[style*="dashed #E7EFF6"], [style*="dashed #e7eff6"],
[style*="dashed #E5E7EB"], [style*="dashed #e5e7eb"],
[style*="dashed #D1D5DB"], [style*="dashed #d1d5db"],
[style*="dashed #CBD5E1"], [style*="dashed #cbd5e1"],
[style*="border-color: rgba(255,255,255,.10)"], [style*="border-color:rgba(255,255,255,.10)"],
[style*="border-color: rgba(255,255,255,.10)"], [style*="border-color:rgba(255,255,255,.10)"],
[style*="border-color: rgba(255,255,255,.08)"], [style*="border-color:rgba(255,255,255,.08)"] {
    border-color: rgba(255, 255, 255, .10) !important;
}

/* --- keep light surfaces that are functionally required ------------------ */
#binanceQrWrapper, [id$="QrWrapper"], [id*="QrBox"], [id*="qrBox"],
.twofa-qr-container, [class*="qr-code"], [class*="qrCode"] {
    background-color: #FFFFFF !important;
}
