:root {
    --primary-color: #0d6efd;
    --sidebar-width: 260px;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Outfit', sans-serif;
    background: radial-gradient(circle at top right, #1a1a2e, #16213e, #0f3460);
    color: #e1e1e1;
}

/* Glassmorphism Components */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-sidebar {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.glass-drawer {
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

/* Layout */
.content-area {
    margin-left: var(--sidebar-width);
    height: 100vh;
}

/* Navigation */
.nav-link {
    color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 10px 15px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(13, 110, 253, 0.2);
}

.nav-link.active {
    border-left: 4px solid var(--primary-color);
}

/* Live Ticker */
.live-ticker {
    max-height: 150px;
    overflow-y: auto;
}

.ticker-item {
    padding: 8px 12px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.85rem;
}

.ticker-item:last-child {
    border-bottom: none;
}

/* Stats */
.stat-card h3 {
    letter-spacing: -1px;
}

/* Table Customization */
.table-dark {
    --bs-table-bg: transparent;
}

.table-hover tbody tr:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* User Drawer */
.user-drawer {
    position: fixed;
    bottom: -100%;
    left: var(--sidebar-width);
    right: 0;
    height: 60vh;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
}

.user-drawer.open {
    bottom: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.x-small {
    font-size: 0.75rem;
}
