/* ==============================================================================
   SMMScripts - User Panel Modern Master Theme (Cyber Yellow & Deep Black / Pure White)
   Matches Reference Design: Cyber Yellow (#FFE600), Solid Black (#000000) & Crisp White (#FFFFFF)
   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: #FFE600;
    --up-yellow-hover: #F2DA00;
    --up-yellow-light: #FFFBE6;
    --up-black: #000000;
    --up-sidebar-bg: #000000;
    --up-body-bg: #F8F9FB;
    --up-card-bg: #FFFFFF;
    --up-card-light: #F9FAFC;
    --up-border: #E5E7EB;
    --up-border-subtle: #F3F4F6;
    --up-text-main: #111827;
    --up-text-muted: #6B7280;
    --up-text-dim: #9CA3AF;
    --up-pill-bg: #F3F4F6;
    --up-green: #00C853;
    --up-radius-pill: 50px;
    --up-radius-card: 20px;
}

/* 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: #000000 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 16px rgba(255, 230, 0, 0.35);
}

.user-sidebar-item.active a i {
    color: #000000 !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: #FFFFFF;
    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: #1F2937;
    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: #6B7280;
    margin-inline-start: 4px;
    padding: 0;
}
.balance-toggle-btn:hover {
    color: #111827;
}

.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: #111827;
}
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: #9CA3AF;
}
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: #000000;
    box-shadow: 0 2px 8px rgba(255, 230, 0, 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: #9CA3AF;
}
.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: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(255, 230, 0, 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: #FFFFFF !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: #111827;
    font-family: 'Inter', sans-serif;
}
.stat-card-white .stat-icon-3d {
    font-size: 44px;
    color: #F59E0B;
}

/* ==============================================================================
   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: #000000 !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(255, 230, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Service Item Row (Clean White Card) */
.service-pill-row {
    background: #FFFFFF;
    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: #000000;
    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: #000000 !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: #FFFFFF;
    border: 1px solid var(--up-border);
    color: #374151;
    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: #000000;
}

.ticket-step-block.step-yellow {
    background: var(--up-yellow);
    color: #000000;
}
.ticket-step-block.step-yellow .ticket-step-num {
    background: #000000;
    color: var(--up-yellow);
}

.ticket-step-block.step-white {
    background: #FFFFFF;
    border: 1px solid var(--up-border);
    color: #111827;
}
.ticket-step-block.step-white .ticket-step-num {
    background: var(--up-yellow);
    color: #000000;
}

/* 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: #FFFFFF;
    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: #111827;
}
.ticket-category-tile i {
    font-size: 24px;
    color: #111827;
}
.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: #FFFFFF;
    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: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    color: #111827;
    height: 42px;
}

/* ==============================================================================
   7. Footer & Floating Action Widgets
   ============================================================================== */

.user-panel-footer {
    background: #000000;
    color: #9CA3AF;
    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: #000000;
    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 */
@media (min-width: 769px) {
    .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;
    }
    .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: #111827 !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: #111827 !important;
}

.user-panel-body p,
.user-content-area p {
    color: #4B5563;
}

.user-panel-body .card-title,
.user-content-area .card-title {
    color: #111827 !important;
    font-weight: 800 !important;
}

.user-panel-body .card {
    background: #FFFFFF !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: #111827 !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: #9CA3AF !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: #FFFFFF !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: #111827 !important;
}
.user-panel-body .stat-card .stat-label {
    color: #6B7280 !important;
    font-weight: 700 !important;
}
.user-panel-body .stat-card .stat-value {
    color: #111827 !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: #FFFFFF !important;
    border: 1.5px solid var(--up-border) !important;
    border-radius: var(--up-radius-pill) !important;
    color: #111827 !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: #E5E7EB !important;
    color: #1F2937 !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

.user-panel-body .form-control::placeholder,
.user-panel-body input::placeholder {
    color: #9CA3AF !important;
    font-weight: 500 !important;
}

.user-panel-body textarea.form-control,
.user-panel-body textarea {
    background-color: #FFFFFF !important;
    border: 1.5px solid var(--up-border) !important;
    border-radius: 16px !important;
    color: #111827 !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: #FFE600 !important;
    box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.25) !important;
    background-color: #FFFFFF !important;
    color: #111827 !important;
}

.user-panel-body .form-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Tables inside User Panel */
.user-panel-body .table {
    color: #111827 !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: #111827 !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: #FFE600 !important;
    transform: translateY(-1px) !important;
}

.user-panel-body .btn-gold {
    background: var(--up-yellow) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: var(--up-radius-pill) !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(255, 230, 0, 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: #FFFFFF !important;
    border: 1.5px solid var(--up-border) !important;
    color: #111827 !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: #111827;
    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: #000000 !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(255, 230, 0, 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;
}
.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 #FFE600, 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: #4B5563 !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: #111827 !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: #FFFFFF !important;
}
.social-circle-sp { background: #1DB954 !important; color: #FFF !important; }
.social-circle-sc { background: #FFFC00 !important; color: #000000 !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: #0284C7 !important; color: #FFF !important; }
.social-circle-rev { background: #F59E0B !important; color: #FFF !important; }
.social-circle-gg { background: #EA4335 !important; color: #FFF !important; }
.social-circle-all { background: #EF4444 !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: #000000 !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(255, 230, 0, 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: #000000 !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;
    }
}


