:root {
    --bg-dark: #060b17;
    --bg-panel: rgba(17, 25, 40, 0.75);
    --border-panel: rgba(255, 255, 255, 0.125);
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-orange: #f97316;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
}
body { 
    font-family: 'Inter', sans-serif; 
    background: radial-gradient(circle at top left, #0f172a 0%, #060b17 50%, #020617 100%);
    color: var(--text-primary);
}
.glass { 
    background: var(--bg-panel); 
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--border-panel);
    border-radius: 24px;
}

/* Scrollbar utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobile-first adjustments */
@media (max-width: 768px) {
    .nav-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .card {
        border-radius: 1.5rem;
    }
}
.card { 
    background: var(--bg-panel); 
    border-radius: 24px; 
    border: 1px solid var(--border-panel); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.card:hover { 
    transform: translateY(-4px) scale(1.01); 
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}
.input-group label { 
    display: block; 
    font-size: 11px; 
    font-weight: 800; 
    color: var(--text-secondary); 
    text-transform: uppercase; 
    margin-bottom: 8px; 
    letter-spacing: 1px; 
}
.input-group input { 
    width: 100%; 
    padding: 14px 18px; 
    background: rgba(30, 41, 59, 0.5); 
    border: 1px solid var(--border-panel); 
    border-radius: 14px; 
    color: white;
    font-weight: 600; 
    outline: none; 
    transition: all 0.3s; 
}
.input-group input:focus { 
    border-color: var(--accent-blue); 
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.nav-btn { 
    padding: 12px 24px; 
    border-radius: 14px; 
    font-weight: 700; 
    transition: all 0.3s ease; 
    cursor: pointer; 
    border: 1px solid transparent;
    font-size: 14px;
    white-space: nowrap;
}
.nav-btn.active { 
    background: linear-gradient(135deg, var(--accent-blue), #2563eb);
    color: white; 
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}
.nav-btn:not(.active) { color: var(--text-secondary); }
.nav-btn:not(.active):hover { 
    background: rgba(255, 255, 255, 0.05); 
    color: white;
}
.glow-blue { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
.glow-emerald { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
.glow-orange { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }

@media print {
     .no-print { display: none !important; }
     body { background: white !important; color: black !important; }
     .card { 
         background: white !important; 
         border: 1px solid #e2e8f0 !important; 
         color: black !important;
         box-shadow: none !important;
         break-inside: avoid;
     }
     .glass { background: white !important; border: 1px solid #e2e8f0 !important; }
     .text-white { color: black !important; }
     .text-slate-400, .text-slate-500 { color: #64748b !important; }
     canvas { max-width: 100% !important; height: auto !important; }
 }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* Print optimization */
#main-container { padding: 10px; border-radius: 20px; }