/* ==========================================================================
   RELOADXPRESS 2.0 - PC DESKTOP PLATFORM STYLESHEET (SOLID DARK + BRIGHT NEON)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Solid Dark Color Palette (No Blur / No Translucent Glass) */
    --bg-dark: #070709;
    --bg-sidebar: #0a0a0f;
    --bg-header: #0a0a0f;
    --bg-card: #121219;
    --bg-card-hover: #181822;
    --bg-input: #08080c;
    
    /* Vibrant Neon Accent Colors */
    --neon-orange: #ff8c00;
    --neon-amber: #ffb700;
    --neon-red: #ff2a00;
    --neon-cyan: #00f0ff;
    --neon-pink: #ff007f;
    --neon-green: #00ff88;
    --neon-purple: #a100ff;
    
    /* Brand Primary / Secondary */
    --primary: var(--neon-orange);
    --secondary: #ff5500;
    --accent: var(--neon-amber);
    
    /* Text & Status Colors */
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --text-dim: #64748b;
    --success: var(--neon-green);
    --danger: #ff3355;
    --warning: var(--neon-amber);
    
    /* Solid Borders & Radius */
    --card-border: 1px solid rgba(255, 140, 0, 0.3);
    --card-border-hover: 1px solid var(--neon-orange);
    --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Intense Glow Effects */
    --glow-orange: 0 0 20px rgba(255, 140, 0, 0.45);
    --glow-orange-lg: 0 0 35px rgba(255, 140, 0, 0.6);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.4);
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.4);
    --glow-pink: 0 0 20px rgba(255, 0, 127, 0.4);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.85);

    /* Desktop Layout Dimensions */
    --sidebar-width: 260px;
    --header-height: 70px;
}

/* Base Reset & Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
}

/* Cyberpunk Background Grid */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 140, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 140, 0, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: -1;
}

/* Orbitron Utility */
.tech-font {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* Solid Panel Card Base (Replaces Glassmorphism) */
.glass {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: all 0.25s ease;
}

.glass:hover {
    border-color: var(--neon-orange);
    box-shadow: var(--glow-orange), var(--shadow-card);
}

/* ==========================================================================
   DESKTOP SIDEBAR NAVIGATION (SOLID DARK + NEON HIGHLIGHTS)
   ========================================================================== */

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--bg-sidebar);
    border-right: 1px solid rgba(255, 140, 0, 0.25);
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    z-index: 200;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 140, 0, 0.2);
    margin-bottom: 14px;
    flex-shrink: 0;
}

.sidebar-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--neon-orange);
    box-shadow: var(--glow-orange);
    object-fit: cover;
}

.sidebar-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
    letter-spacing: 1px;
}

.sidebar-tag {
    font-size: 0.65rem;
    color: var(--neon-amber);
    font-weight: 700;
    letter-spacing: 1.2px;
}

/* Sidebar Nav Links */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding-right: 4px;
}

/* Custom Scrollbar for Sidebar Menu */
.sidebar-menu::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: #08080c;
    border-radius: 4px;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: var(--neon-orange);
    border-radius: 4px;
    box-shadow: 0 0 8px var(--neon-orange);
}

.menu-category {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 14px 10px 6px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background: transparent;
}

.sidebar-link i {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.sidebar-link-img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 6px;
    filter: drop-shadow(0 0 6px rgba(255, 140, 0, 0.5));
    transition: transform 0.2s ease;
}

.sidebar-link:hover {
    background: #181824;
    color: var(--neon-orange);
    border-color: rgba(255, 140, 0, 0.4);
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.2);
}

.sidebar-link.active {
    background: #1e1828;
    color: #ffffff;
    border-color: var(--neon-orange);
    box-shadow: var(--glow-orange);
}

.sidebar-link.active i, .sidebar-link.active .sidebar-link-img {
    transform: scale(1.15);
}

/* Sidebar User Footer */
.sidebar-user {
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1424;
    border: 1px solid var(--neon-orange);
    color: var(--neon-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.user-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
}

.user-role {
    font-size: 0.68rem;
    color: var(--neon-amber);
}

/* ==========================================================================
   MAIN DESKTOP WORKSPACE & TOP HEADER
   ========================================================================== */

.desktop-wrapper {
    margin-left: var(--sidebar-width);
    width: calc(100vw - var(--sidebar-width));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.desktop-header {
    height: var(--header-height);
    background: var(--bg-header);
    border-bottom: 1px solid rgba(255, 140, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-title-box h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.header-title-box p {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.badge-pill {
    background: #14141f;
    border: 1px solid var(--neon-orange);
    color: var(--neon-orange);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.badge-pill:hover {
    background: #1a1a28;
}

.badge-pill.active-subtab {
    background: var(--neon-orange) !important;
    color: #000000 !important;
    border-color: var(--neon-orange) !important;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: #14141f;
    border: 1px solid rgba(255, 140, 0, 0.3);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.icon-btn:hover {
    background: #1f1f2e;
    color: var(--neon-orange);
}

.btn-neon {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--neon-orange);
    background: var(--neon-orange);
    color: #000000;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-neon:hover {
    opacity: 0.9;
}/* Content Area */
#app-content {
    flex: 1;
    padding: 30px;
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
}

.page {
    display: none;
    animation: fadeInPage 0.3s ease forwards;
}

.page.active {
    display: block;
}

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

/* ==========================================================================
   DESKTOP DASHBOARD GRID & MODULE CARDS
   ========================================================================== */

.desktop-grid-2col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.desktop-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0 16px;
}

.section-title h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title h2 i {
    color: var(--neon-orange);
    text-shadow: 0 0 8px var(--neon-orange);
}

/* Modules Grid (Game & Services Cards) */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.module-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    box-shadow: var(--shadow-card);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--neon-orange);
    box-shadow: 0 0 12px var(--neon-orange);
    opacity: 0.4;
    transition: opacity 0.25s ease;
}

.module-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-orange);
    box-shadow: var(--glow-orange), var(--shadow-card);
    background: var(--bg-card-hover);
}

.module-card:hover::before {
    opacity: 1;
}

.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.module-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #181422;
    color: var(--neon-orange);
    border: 1px solid rgba(255, 140, 0, 0.4);
    overflow: hidden;
    padding: 6px;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

.module-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    filter: drop-shadow(0 0 6px rgba(255, 140, 0, 0.4));
}

.module-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: #0d281a;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.module-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.module-subtitle {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.module-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: var(--neon-orange);
    font-weight: 700;
}

.game-title-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.game-title-banner img {
    height: 54px;
    width: 54px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--neon-orange);
    box-shadow: var(--glow-orange);
}

/* Net Worth Card */
.net-worth-card {
    padding: 26px;
    position: relative;
    overflow: hidden;
    background: #14101d;
    border: 1px solid var(--neon-orange);
    box-shadow: var(--glow-orange), var(--shadow-card);
}

.currency-select {
    background: #09080e;
    border: 1px solid var(--neon-orange);
    color: var(--neon-orange);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.75rem;
    outline: none;
}

.balance-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.6);
    margin: 8px 0 16px;
}

.profit-pill {
    background: #0d281a;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Stat Box */
.stat-box {
    background: var(--bg-card);
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-card);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: #1c1428;
    color: var(--neon-orange);
    border: 1px solid var(--neon-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.3);
}

.stat-info h4 {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 2px;
}

/* Wallet Grid */
.wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.wallet-card {
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 140, 0, 0.25);
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.wallet-card:hover {
    border-color: var(--neon-orange);
    box-shadow: 0 0 14px rgba(255, 140, 0, 0.3);
    transform: translateY(-2px);
}

.wallet-balance {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

/* Transactions Table / List */
.tx-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tx-item {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 140, 0, 0.2);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-card);
}

.tx-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-orange);
}

.tx-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tx-icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.tx-icon-box.in { background: #0d281a; color: var(--neon-green); border: 1px solid var(--neon-green); }
.tx-icon-box.out { background: #280d14; color: var(--danger); border: 1px solid var(--danger); }
.tx-icon-box.robux { background: #28180d; color: var(--neon-orange); border: 1px solid var(--neon-orange); }

.tx-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: #ffffff;
}

.tx-details p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.tx-right {
    text-align: right;
}

.tx-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
}

.tx-amount.pos { color: var(--neon-green); }

.tx-profit {
    font-size: 0.72rem;
    color: var(--neon-orange);
    font-weight: 600;
}

/* ==========================================================================
   LOCK / LOGIN SCREEN (SOLID MATTE CARD)
   ========================================================================== */

.lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #050508;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lock-screen.active {
    opacity: 1;
    pointer-events: all;
}

.lock-container {
    width: 100%;
    max-width: 440px;
    padding: 36px 30px;
    text-align: center;
    background: #0f0f16;
    border: 2px solid var(--neon-orange);
    border-radius: var(--radius-lg);
    box-shadow: var(--glow-orange-lg), var(--shadow-card);
}

.lock-logo {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--neon-orange);
    box-shadow: var(--glow-orange);
    margin-bottom: 16px;
    object-fit: cover;
}

.lock-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.6);
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.lock-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

/* Form Controls */
.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.glass-input, .glass-select {
    width: 100%;
    padding: 12px 14px;
    background: #08080d;
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.25s ease;
}

.glass-input:focus, .glass-select:focus {
    border-color: var(--neon-orange);
    box-shadow: 0 0 16px rgba(255, 140, 0, 0.4);
    background: #0f0d16;
}

.btn-neon {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--neon-orange);
    background: linear-gradient(135deg, #ff8c00 0%, #ff5500 100%);
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--glow-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-neon:hover {
    box-shadow: var(--glow-orange-lg);
    transform: translateY(-2px);
    filter: brightness(1.15);
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 8, 0.92);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    padding: 26px;
    position: relative;
    max-height: 88vh;
    overflow-y: auto;
    background: #0e0e16;
    border: 2px solid var(--neon-orange);
    border-radius: var(--radius-md);
    box-shadow: var(--glow-orange-lg), var(--shadow-card);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.close-modal {
    font-size: 1.5rem;
    color: var(--text-dim);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--danger);
}

/* Toast */
.toast {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 10000;
    padding: 14px 22px;
    background: #0f0d18;
    border: 2px solid var(--neon-orange);
    box-shadow: var(--glow-orange);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    transform: translateY(-80px);
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: none;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

.hidden { display: none !important; }

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #121219;
    border: 1px solid var(--neon-orange);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
    z-index: 99999;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.toast.active {
    transform: translateX(0);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
    /* Layout */
    .desktop-wrapper {
        margin-left: 0;
        width: 100vw;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 3000;
        box-shadow: 5px 0 20px rgba(0,0,0,0.5);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 2999;
    }
    
    .mobile-overlay.active {
        display: block;
    }

    /* Grids */
    .desktop-grid-2col, 
    .desktop-grid-3col, 
    .desktop-grid-4col, 
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    /* Header */
    .desktop-header {
        padding: 12px 16px;
        flex-wrap: nowrap;
        gap: 12px;
    }
    
    #desktop-page-title {
        font-size: 1.1rem;
    }
    
    #desktop-page-subtitle {
        font-size: 0.75rem;
        display: none;
    }
    
    .header-actions {
        width: auto;
        justify-content: flex-end;
    }
    
    /* Hamburger Menu Button */
    .hamburger-btn {
        display: block !important;
        background: transparent;
        border: none;
        color: var(--neon-orange);
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0 8px 0 0;
    }
    
    /* Specific Fixes */
    .glass {
        padding: 16px !important;
    }
    
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .page {
        padding: 16px;
    }
    
    /* Toast positioning */
    .toast {
        top: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
    }
}

.hamburger-btn {
    display: none;
}


.form-row {
    display: flex;
    gap: 12px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .badge-pill {
        white-space: nowrap;
    }
    
    #date-badge,
    #usdt-badge,
    #bcv-badge {
        display: none !important;
    }
    
    .header-actions {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        justify-content: flex-start;
    }
    
    .header-actions::-webkit-scrollbar {
        height: 2px;
    }
    
    .header-actions::-webkit-scrollbar-thumb {
        background: var(--neon-orange);
    }
}

/* ==========================================================================
   GLOBAL LOADER (SPINNER)
   ========================================================================== */

.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.global-loader.hidden {
    display: none !important;
}

.global-loader .loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
    border-radius: 20px;
    background: rgba(15, 13, 24, 0.7);
    border: 1px solid rgba(255, 140, 0, 0.4);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.2);
    text-align: center;
}

/* ==========================================================================
   DATA TABLES
   ========================================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.inventory-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.inventory-table th {
    text-align: left;
    padding: 14px 16px;
    background: #0d0d14;
    color: var(--neon-orange);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--neon-orange);
    white-space: nowrap;
}

.inventory-table td {
    padding: 12px 16px;
    background: #15151e;
    border-bottom: 1px solid rgba(255, 140, 0, 0.15);
    color: #e2e8f0;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.inventory-table tbody tr:hover td {
    background: #1c1c28;
}
