/* css/global.css */

:root {
    /* --- COLOR PALETTE (The "Soft" look) --- */
    /* Primary Blue - Trust & Stability */
    --primary: #0066FF; 
    /* Accent Yellow - For notifications/badges (+5) */
    --accent: #FFD600; 
    /* Text Colors - #333 is better for eyes than #000 */
    --text-dark: #1F2937;
    --text-light: #6B7280;
    
    /* Backgrounds */
    --bg-body: #F3F4F6; /* Light Grey-Blue */
    --bg-glass: rgba(255, 255, 255, 0.75); /* 75% Opaque White */
    
    /* --- SHADOWS & BLUR (The Physics) --- */
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --blur-strength: 12px;
    
    /* --- SPACING & BORDERS --- */
    --radius-lg: 24px;  /* Smooth, round corners */
    --radius-md: 16px;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- RESET (Engineering the foundation) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Crucial: Padding won't break layout width */
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.5;
    /* This centers everything for the Login page mainly */
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
}

/* --- THE GLASS CLASS (Reusable Component) --- */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-strength)); /* The Magic Blur */
    -webkit-backdrop-filter: blur(var(--blur-strength)); /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.5); /* Subtle white border */
    box-shadow: var(--shadow-soft);
}

/* Utility for buttons (We'll use this a lot) */
.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease;
}

.btn-primary:active {
    transform: scale(0.98); /* Click press effect */
}