:root {
    --bg-darker: #0b0f19;
    --bg-dark: #121826;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    
    /* Main Action Colors */
    --accent: #f59e0b; /* Yellow/Gold */
    --accent-hover: #d97706;
    
    /* Additional/State Colors (only for warnings, badges) */
    --accent-blue: #3b82f6;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b; /* Alias to accent */
}

/* Base resets */
body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg-darker); 
    color: var(--text-main); 
    margin: 0; 
}

/* Brand Logo (SACore by SmartAcoustic) */
.brand-logo {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s;
}
.brand-logo:hover {
    opacity: 0.8;
}
.brand-logo h1, .brand-logo h2 {
    color: var(--text-main);
    margin: 0;
    font-family: 'Outfit', sans-serif;
}
.brand-subtitle {
    color: var(--text-muted);
    font-size: 0.7em;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    margin-top: 2px;
}

/* Buttons */
.btn {
    padding: 10px 15px; 
    border-radius: 6px; 
    font-weight: 600; 
    cursor: pointer; 
    border: none; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    transition: all 0.2s; 
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
}

/* Primary is now YELLOW */
.btn-primary { 
    background: var(--accent); 
    color: #000; 
}
.btn-primary:hover { 
    background: var(--accent-hover); 
    color: #000;
}

/* Success and Danger */
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #059669; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }

/* Outline (Ghost buttons) */
.btn-outline { 
    background: transparent; 
    border: 1px solid var(--border); 
    color: var(--text-main); 
}
.btn-outline:hover { 
    background: rgba(255,255,255,0.05); 
}
.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}
.btn-outline-primary:hover {
    background: rgba(245, 158, 11, 0.1);
}

/* Common form inputs for dark mode */
input[type="text"], input[type="date"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
    width: 100%; 
    padding: 10px 12px; 
    border-radius: 8px; 
    border: 1px solid var(--border); 
    background: var(--bg-dark); 
    color: var(--text-main); 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
