:root {
    --bg-main: #060913;
    --bg-glass: rgba(10, 16, 30, 0.65);
    --bg-glass-hover: rgba(16, 26, 48, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shine: rgba(255, 255, 255, 0.03);
    
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.45);
    --accent-success: #10b981;
    --accent-success-glow: rgba(16, 185, 129, 0.3);
    --accent-error: #ef4444;
    --accent-error-glow: rgba(239, 68, 68, 0.4);
    
    --text-main: #f8fafc;
    --text-muted: #64748b;
    --radius-lg: 16px;
    --radius-md: 10px;
    --blur-strength: 14px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-user-select: none; user-select: none;
    -webkit-tap-highlight-color: transparent;
}

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

#sidebar {
    width: 340px;
    background: linear-gradient(135deg, rgba(10, 16, 30, 0.85) 0%, rgba(6, 9, 19, 0.95) 100%);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    z-index: 10;
    box-shadow: 15px 0 50px rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
}

#workspace {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    body { flex-direction: column-reverse; }
    #sidebar { width: 100%; height: 42vh; border-right: none; border-top: 1px solid var(--glass-border); }
    #workspace { height: 58vh; flex: none; }
}