:root {
    /* Deep dark violet/slate background */
    --bg-main: #05050a; 
    /* Purple-tinted glass */
    --bg-panel: rgba(17, 12, 34, 0.6); 
    --bg-panel-solid: #0d0914;
    --bg-input: rgba(0, 0, 0, 0.4);
    
    /* The Purple-ish Accents */
    --accent-purple: #8b5cf6;
    --accent-fuchsia: #d946ef;
    --accent-blue: #3b82f6;
    --glass-border: rgba(139, 92, 246, 0.2); /* Subtle purple border */

	/* RC2 Core Palette */
    --bg-main: #020617; /* Tailwind slate-950 */
    --bg-panel: rgba(15, 23, 42, 0.6); /* Tailwind slate-900 w/ opacity */
    --bg-panel-solid: #0f172a;
    --bg-input: rgba(2, 6, 23, 0.5);
    
    /* Typography */
    --text-primary: #f1f5f9; /* slate-100 */
    --text-muted: #64748b; /* slate-500 */
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Accents */
    --accent-blue: #3b82f6;
    --accent-blue-hover: #60a5fa;
    --accent-green: #4ade80;
    --accent-emerald: #10b981;
    --accent-purple: #8b5cf6;
    --accent-rose: #f43f5e;
    
    /* Functional */
    --terminal-bg: transparent;
    --terminal-text: var(--accent-green);
    --server-fill: var(--accent-blue);
    --task-fill: var(--accent-purple);
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Utility */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    
    /* 🔥 FIX: Forces GPU hardware acceleration */
    transform: translateZ(0);
    will-change: transform, backdrop-filter;
}
.left-panel, .right-panel { 
    background-color: var(--bg-panel-solid); 
    border-left: 1px solid var(--border-color); 
    border-right: 1px solid var(--border-color); 
}

/* Buttons (RC2 Style) */
button {
    background-color: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

button:hover { 
    border-color: var(--text-muted); 
    background-color: rgba(255,255,255,0.05);
}

/* Terminal Overrides */
.terminal-output { 
    color: var(--terminal-text); 
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

.terminal-muted {
    color: var(--accent-green);
    opacity: 0.4;
    font-style: italic;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: -0.05em;
}

.input-area {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 16px 16px;
}

.prompt-arrow {
    color: var(--accent-green);
    font-family: 'Fira Code', monospace;
    font-weight: bold;
    margin-right: 10px;
}

.terminal-input {
    background-color: transparent;
    color: var(--accent-green);
    border: none;
    font-family: 'Fira Code', monospace;
}

.terminal-input::placeholder {
    color: rgba(74, 222, 128, 0.3); /* muted term-green */
}

/* Freemium Locks */
.locked-tier {
    opacity: 0.6;
    filter: grayscale(80%);
    cursor: pointer !important;
    transition: all 0.2s ease;
}

.locked-tier:hover {
    opacity: 1;
    filter: grayscale(0%);
    border-color: var(--accent-color);
}

.locked-panel.locked-tier {
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.02) 10px,
        rgba(0, 0, 0, 0) 10px,
        rgba(0, 0, 0, 0) 20px
    );
}

.pro-badge {
    background: var(--accent-color);
    color: #000;
    font-size: 0.6em;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 900;
    vertical-align: super;
    margin-left: 5px;
}

/* Synthetica Z Global Select Dropdown Skin */
select {
    background-color: #0d1117;
    color: #58a6ff;
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 8px 30px 8px 12px; /* Extra right padding for the arrow */
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    
    /* Strip the native OS styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Custom terminal-green SVG arrow */
    background-image: url('data:image/svg+xml;utf8,<svg fill="%233fb950" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    
    transition: border-color 0.2s, box-shadow 0.2s;
}

select:hover, select:focus {
    border-color: #58a6ff;
    box-shadow: 0 0 8px rgba(88, 166, 255, 0.2);
}

select option {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Fira Code', monospace;
    padding: 8px;
}
