/* Trade Picks - Premium Trading Portal Style System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-primary: #020b06;
    --bg-secondary: #04140b;
    --bg-tertiary: #082213;
    --text-primary: #eaecef;
    --text-secondary: #889ba8;
    --accent-gold: #00ff88;
    --accent-gold-hover: #00e5ff;
    --accent-silver: #a0a5ad;
    --trade-green: #00ff88;
    --trade-green-bg: rgba(0, 255, 136, 0.1);
    --trade-red: #ff4d4d;
    --trade-red-bg: rgba(255, 77, 77, 0.15);
    --border-color: rgba(0, 255, 136, 0.15);
    --glass-bg: rgba(4, 20, 11, 0.85);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    --gold-glow: 0 0 15px rgba(0, 255, 136, 0.3);
    --green-glow: 0 0 15px rgba(0, 255, 136, 0.3);
    --red-glow: 0 0 15px rgba(255, 77, 77, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 50% 50%, #03140a 0%, #010402 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Premium Layout & Glass Header */
.navbar-custom {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.brand-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link-custom {
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.25s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
}
.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--accent-gold);
    background: rgba(240, 185, 11, 0.08);
}

/* Premium Trading Cards */
.card-trading {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.card-trading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transform: translateX(-100%);
    transition: all 0.5s ease;
}
.card-trading:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 185, 11, 0.3);
    box-shadow: var(--gold-glow);
}
.card-trading:hover::before {
    transform: translateX(100%);
}

.card-header-trading {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem;
}

/* Inputs & Form Styling */
.form-control-custom {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}
.form-control-custom:focus {
    background-color: var(--bg-secondary);
    border-color: var(--accent-gold);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.15);
    outline: none;
}
.form-label-custom {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Trading View Interactive Buttons */
.btn-trading-link {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--accent-gold);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 1.2rem 1.8rem;
    font-size: 1.15rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--gold-glow);
    text-decoration: none;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.btn-trading-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(240, 185, 11, 0.05);
    opacity: 0;
    transition: all 0.25s ease;
}
.btn-trading-link:hover {
    color: var(--accent-gold);
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(240, 185, 11, 0.4);
    transform: scale(1.02);
}
.btn-trading-link:hover::after {
    opacity: 1;
}
.btn-trading-link:active {
    transform: scale(0.99);
}

.btn-trading-link .icon-container {
    background: var(--accent-gold);
    color: var(--bg-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.btn-trading-link:hover .icon-container {
    background: #ffffff;
    color: var(--bg-primary);
    transform: rotate(45deg);
}

/* Pulse Animation for Active Link */
.pulse-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--trade-green);
    border-radius: 50%;
    box-shadow: var(--green-glow);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(14, 203, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(14, 203, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(14, 203, 129, 0);
    }
}

/* General Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    border: none;
    color: var(--bg-primary);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-gold:hover {
    background: #ffffff;
    color: var(--bg-primary);
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
}
.btn-gold:active {
    transform: translateY(0);
}

.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}
.btn-outline-gold:hover {
    background: rgba(240, 185, 11, 0.08);
    color: #ffffff;
    border-color: #ffffff;
}

/* Badge Badges */
.badge-green {
    background-color: var(--trade-green-bg);
    color: var(--trade-green);
    border: 1px solid rgba(14, 203, 129, 0.3);
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    border-radius: 4px;
}
.badge-red {
    background-color: var(--trade-red-bg);
    color: var(--trade-red);
    border: 1px solid rgba(246, 70, 93, 0.3);
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    border-radius: 4px;
}

/* Beautiful Login Screens */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 20%, rgba(18, 22, 26, 1) 0%, rgba(11, 14, 17, 1) 90%);
    padding: 1.5rem;
}

.login-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.login-card::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(rgba(240, 185, 11, 0.05), transparent 70%);
    pointer-events: none;
}

/* Mobile Simulator Device Shell on Desktop */
.mobile-simulator-layout {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.desktop-content {
    flex: 1;
}

.simulator-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    box-shadow: var(--gold-glow);
    cursor: pointer;
    transition: all 0.3s ease;
}
.simulator-toggle-btn:hover {
    background: #ffffff;
    box-shadow: 0 0 25px rgba(240, 185, 11, 0.4);
    transform: scale(1.05);
}

.device-frame-container {
    width: 410px;
    height: 820px;
    border: 12px solid #23272a;
    border-radius: 40px;
    background-color: var(--bg-primary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.device-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 24px;
    background: #23272a;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 1045;
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.device-screen::-webkit-scrollbar {
    width: 4px;
}

/* Mobile Layout Bottom Navbar */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    height: 65px;
}

.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 10px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.25s ease;
    gap: 4px;
    width: 20%;
    height: 100%;
}
.mobile-nav-item i {
    font-size: 1.25rem;
}
.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--accent-gold);
}

@media (max-width: 991px) {
    .device-frame-container {
        display: none !important;
    }
    .mobile-simulator-layout {
        display: block;
        margin: 1rem auto;
    }
}

/* When the app is opened natively in a mobile web view or simulated viewport width */
@media (max-width: 576px) {
    .navbar-custom {
        display: none !important;
    }
    body {
        margin-bottom: 70px;
    }
    .mobile-nav {
        display: block;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Payment Gateway Mock Styles */
.payment-card-layout {
    background: radial-gradient(100% 100% at 0% 0%, rgba(35, 41, 48, 0.8) 0%, rgba(18, 22, 26, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.credit-card-shape {
    background: linear-gradient(135deg, #1c2025 0%, #0c0e11 100%);
    border: 1px solid var(--accent-gold);
    border-radius: 16px;
    height: 180px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    position: relative;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    overflow: hidden;
}
.credit-card-shape::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(240, 185, 11, 0.15), transparent 60%);
    pointer-events: none;
}
.credit-card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #ffe066, #d4af37);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}
.credit-card-number {
    font-size: 1.15rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', monospace;
}
.credit-card-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Real-time Hit Counters on Admin */
.stat-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}
.stat-box:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
}
.stat-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
    background: rgba(240, 185, 11, 0.08);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-details h3 {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.stat-details p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Admin Logs Simulator Panel */
.simulator-box {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: #8b949e;
    max-height: 250px;
    overflow-y: auto;
}
.simulator-line {
    margin-bottom: 8px;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    padding-bottom: 6px;
}
.simulator-tag-sms {
    background: #238636;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 6px;
}
.simulator-tag-time {
    color: #58a6ff;
    margin-right: 6px;
}

/* Custom Chart Modal styling */
.chart-iframe-container {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #131722; /* Matches TV default dark */
    border: 1px solid var(--border-color);
}
.chart-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Universal Premium Branded Splash Screen / Preloader */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #05080c;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999; /* Overlay absolutely everything */
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 1;
    visibility: visible;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    max-width: 400px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.splash-logo-container {
    position: relative;
    width: 105px;
    height: 105px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 25px rgba(240, 185, 11, 0.35);
    z-index: 2;
    object-fit: cover;
    animation: logo-pulse 2s infinite ease-in-out;
}

/* Elegant gold dashed outer ring rotating around the logo */
.splash-logo-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px dashed rgba(240, 185, 11, 0.3);
    border-top-color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
    border-radius: 50%;
    animation: splash-spin 3s linear infinite;
    z-index: 1;
}

.splash-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fade-in-up 0.7s forwards 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.splash-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #8c9ba5;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fade-in-up 0.7s forwards 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.splash-loader-bar {
    width: 180px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.splash-loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-gold), #ffc107);
    border-radius: 10px;
    animation: progress-fill 1.6s forwards ease-in-out;
}

/* Premium preloader Keyframe Animations */
@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(240, 185, 11, 0.35);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 35px rgba(240, 185, 11, 0.6);
    }
}

@keyframes splash-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progress-fill {
    0% { width: 0%; }
    35% { width: 40%; }
    70% { width: 75%; }
    100% { width: 100%; }
}

#tradingBgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #02180c 0%, #010402 100%);
}

/* ==========================================
   Universal Left Sidebar System (Admin & Dealer)
   ========================================== */

body.sidebar-layout-body {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

body.sidebar-layout-body #mainContainer {
    flex: 1;
    margin-left: 280px; /* Width of the sidebar */
    padding: 2rem 2.5rem !important;
    transition: all 0.3s ease;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.left-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: rgba(4, 20, 11, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 1040;
    transition: all 0.3s ease;
}

/* Sidebar Brand Header */
.sidebar-brand {
    padding: 2.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.sidebar-logo {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.brand-text-sidebar {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.brand-text-sidebar .text-accent {
    color: var(--accent-gold);
}

/* Profile Section */
.sidebar-profile-section {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(0, 255, 136, 0.02);
    border-bottom: 1px solid rgba(0, 255, 136, 0.05);
}

.sidebar-avatar-ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.08);
    border: 1.5px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.25rem;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.15);
}

.sidebar-profile-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sidebar-welcome-text {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

/* Sidebar Menu */
.sidebar-menu {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.8rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 0.9rem;
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: all 0.25s ease;
}

.sidebar-link:hover {
    color: #ffffff;
    background: rgba(0, 255, 136, 0.05);
    transform: translateX(4px);
}

.sidebar-link.active {
    color: var(--bg-primary) !important;
    background: linear-gradient(135deg, var(--accent-gold-hover) 0%, var(--accent-gold) 100%) !important;
    font-weight: 700;
    box-shadow: var(--green-glow);
}

.sidebar-link.active i {
    color: var(--bg-primary) !important;
}

/* Sidebar Footer / Log out */
.sidebar-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.btn-logout-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 77, 77, 0.08);
    border: 1px solid rgba(255, 77, 77, 0.2);
    color: #ff4d4d;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.25s ease;
    font-size: 0.9rem;
}

.btn-logout-sidebar:hover {
    background: #ff4d4d;
    color: #ffffff;
    box-shadow: var(--red-glow);
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
    .left-sidebar {
        transform: translateX(-100%);
    }
    
    body.sidebar-layout-body #mainContainer {
        margin-left: 0 !important;
        padding: 4.5rem 1.25rem 1.25rem !important; /* Top padding to accommodate mobile header */
    }
    
    .sidebar-mobile-header {
        display: flex !important;
    }
}

/* Mobile Header (only active on small screens) */
.sidebar-mobile-header {
    display: none;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

/* ==========================================
   Admin Specific Custom Styles
   ========================================== */
.admin-table-card {
    background: linear-gradient(135deg, rgba(6, 20, 11, 0.75) 0%, rgba(2, 10, 5, 0.9) 100%);
    border: 1.5px solid rgba(0, 255, 136, 0.15);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.admin-table-header {
    background: rgba(0, 0, 0, 0.35) !important;
    border-bottom: 2px solid rgba(0, 255, 136, 0.2) !important;
}

.admin-table-header th {
    color: var(--text-primary) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    padding: 1.1rem 1rem !important;
    text-transform: uppercase;
}

.admin-table-row {
    border-bottom: 1px solid rgba(0, 255, 136, 0.05) !important;
    transition: all 0.2s ease;
}

.admin-table-row:hover {
    background-color: rgba(0, 255, 136, 0.03) !important;
}

.admin-table-row td {
    padding: 1rem 1rem !important;
    font-size: 0.9rem;
    color: #eaecef;
}

.admin-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12) 0%, rgba(0, 229, 255, 0.08) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.1);
}

.admin-filter-bar {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(0, 255, 136, 0.15) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    max-width: 280px;
}

.admin-filter-bar:focus {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2) !important;
    outline: none;
}