/* Crystal OS Main Theme - Blue/Slate Style */
:root {
    --bg-color: #f8fafc;
    --panel-color: #ffffff;
    --text-main: #0f172a;
    
    /* Colors */
    --key-white: #f8fafc;
    --key-white-shadow: #cbd5e1;
    --key-slate: #f1f5f9;
    --key-slate-shadow: #94a3b8;
    --key-slate-text: #334155;
    --key-blue: #dbeafe;
    --key-blue-shadow: #60a5fa;
    --key-blue-text: #1e40af;
    --key-green: #dcfce7;
    --key-green-shadow: #4ade80;
    --key-green-text: #166534;
    --key-rose: #ffe4e6;
    --key-rose-shadow: #fb7185;
    --key-rose-text: #9f1239;
    --key-gold: #fef9c3;
    --key-gold-shadow: #eab308;
    --key-gold-text: #854d0e;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* 3D Panel Aesthetic */
.crystal-panel {
    background: var(--panel-color);
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    border: 1px solid #e2e8f0;
    transition: transform 0.1s ease;
}

/* 3D Mechanical Keys */
.mech-key {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    outline: none;
    user-select: none;
    padding: 10px 20px;
    font-size: 0.8rem;
    top: 0;
    border-bottom-width: 4px;
    width: 100%;
}

.mech-key:active { top: 3px; border-bottom-width: 1px; box-shadow: none !important; }

/* Key Colors */
.key-white { background: var(--key-white); color: var(--text-main); border: 1px solid #e2e8f0; border-bottom-color: #cbd5e1; }
.key-blue { background: var(--key-blue); color: var(--key-blue-text); border: 1px solid #bfdbfe; border-bottom-color: #60a5fa; }
.key-green { background: var(--key-green); color: var(--key-green-text); border: 1px solid #bbf7d0; border-bottom-color: #4ade80; }
.key-rose { background: var(--key-rose); color: var(--key-rose-text); border: 1px solid #fecdd3; border-bottom-color: #fb7185; }
.key-slate { background: var(--key-slate); color: var(--key-slate-text); border: 1px solid #e2e8f0; border-bottom-color: #94a3b8; }
.key-gold { background: var(--key-gold); color: var(--key-gold-text); border: 1px solid #fef08a; border-bottom-color: #eab308; }

/* Inputs */
input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.2s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Status Badges & Pills */
.status-pill { padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.status-ok { background: #dcfce7; color: #166534; }
.status-alert { background: #fee2e2; color: #991b1b; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* Hidden Utility */
.hidden { display: none !important; }