/* Jeff's Architecture - Skin Foundation
   File: skins/default/css/base.css
*/

/* 1. TYPOGRAPHY IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@500;600;700&display=swap');

:root {
    /* 2. THE "COBALT & SLATE" PALETTE */
    
    /* Backgrounds: Deep Blue-Greys */
    --bg-body:       #0f172a; /* Very dark slate (Main Background) */
    --bg-surface:    #1e293b; /* Lighter slate (Cards/Panels/Sidebar) */
    --bg-surface-2:  #334155; /* Highlight/Hover state */
    
    /* Brand: Stoic Cobalt */
    --primary:       #4f46e5; /* Deep Indigo/Cobalt */
    --primary-hover: #4338ca;
    --primary-light: rgba(79, 70, 229, 0.15); /* For subtle backgrounds */
    
    /* Secondary & Accents */
    --accent:        #64748b; /* Slate Grey (Secondary actions) */
    --accent-hover:  #94a3b8;
    
    /* Functional Colors (Muted/Sophisticated) */
    --success:       #10b981; /* Green-greyish Emerald */
    --danger:        #ef4444; /* Standard Red */
    --warning:       #f59e0b; /* Amber */
    --info:          #3b82f6; /* Standard Blue */
    
    /* Text: High Contrast but not harsh white */
    --text-main:     #f1f5f9; /* Off-white */
    --text-muted:    #94a3b8; /* Blue-grey text */
    --text-inverse:  #0f172a; /* Dark text for light badges */
    
    /* Borders */
    --border-color:  #334155; /* Subtle separation */

    /* 3. GEOMETRY & DEPTH ("Smooth but Jagged") */
    --radius-sm:     2px;     /* Very sharp */
    --radius-md:     4px;     /* Slight softening (The "Jagged" feel) */
    --radius-lg:     8px;     /* Larger containers */
    
    /* "Middle Ground" Depth: Border + Subtle Shadow */
    --shadow-card:   0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
    --shadow-float:  0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xs:     0 1px 2px 0 rgba(0, 0, 0, 0.05);

    /* 4. TYPOGRAPHY TOKENS */
    --font-head:     'Montserrat', sans-serif;
    --font-body:     'Lato', sans-serif;
}

/* GLOBAL DEFAULTS */
body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased; /* Critical for dark mode legibility */
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em; /* Tighter, more modern tracking */
    line-height: 1.2;
}

h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

/* LINKS */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #818cf8; /* Lighter cobalt on hover */
}

/* UTILITY HELPERS */
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mt-20 { margin-top: 20px; }