/* Modern Dark Theme Variables */
:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary); 
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary); 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569; 
}

/* Tab Navigation */
.tab-btn {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    font-weight: 500;
}

.tab-btn:hover {
    color: var(--text-primary);
    background-color: rgba(255,255,255,0.05);
}

.tab-btn.active {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}

/* Form Elements */
.modern-input {
    background-color: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    color: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modern-input:focus {
    border-color: var(--accent-blue);
    outline: none; /* Tailwind handles ring, but safe fallback */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.modern-btn {
    transition: transform 0.1s, background-color 0.2s;
}
.modern-btn:active {
    transform: scale(0.98);
}

/* Utils */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #60a5fa, #a78bfa);
}
