/* QuizzMan CMS Global CSS Variables */
:root {
    /* Basic adjustments */
    -webkit-text-size-adjust: 100%;
    
    /* Font Awesome Variables */
    --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
    --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
    --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
    
    /* Primary Colors */
    --primary-color: #6366f1;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    /* Background Colors */
    --background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #f0f9ff 100%);
    --card-background: rgba(255, 255, 255, 0.8);
    --glass-background: rgba(255, 255, 255, 0.6);
    --glass-hover: rgba(255, 255, 255, 0.8);
    --sidebar-background: rgba(248, 250, 252, 0.9);
    
    /* Border & Radius */
    --border-color: rgba(203, 213, 225, 0.6);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    
    /* Shadows & Transitions */
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Extended Color Palette */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
    --secondary: #06b6d4;
    --accent: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-overlay: rgba(15, 23, 42, 0.8);
    --text-light: #94a3b8;
    --text-white: #ffffff;
    --border: #e2e8f0;
    
    /* Gradient Collection */
    --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    --gradient-warm: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-orange: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 50%, #ffd93d 100%);
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f43f5e 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    --gradient-sunset: linear-gradient(135deg, #f43f5e 0%, #fb923c 50%, #fbbf24 100%);
    --gradient-ocean: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 50%, #38bdf8 100%);
    
    /* Spacing System */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Additional Border Radius */
    --radius-2xl: 1.5rem;
    
    /* Typography */
    --font-family: 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    --font-display: 'Roboto', 'Poppins', var(--font-family);
    
    /* Semantic Colors */
    --primary-blue: #2563eb;
    --primary-indigo: #4f46e5;
    --secondary-purple: #7c3aed;
    --accent-emerald: #059669;
    --success-green: #16a34a;
    --warning-amber: #d97706;
    --danger-red: #dc2626;
    
    /* Background Variants */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-hover: #f1f5f9;
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-dark: #94a3b8;
    
    /* Shadow System */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius System */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Spacing System Extended */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Assignment System Colors */
    --assigned-bg-primary: #ffffff;
    --assigned-bg-secondary: #f8fafc;
    --assigned-border: #e2e8f0;
    --assigned-border-hover: #cbd5e1;
    --assigned-text-primary: #1e293b;
    --assigned-text-secondary: #64748b;
    --assigned-text-muted: #94a3b8;
    --assigned-accent-blue: #3b82f6;
    --assigned-accent-green: #10b981;
    --assigned-accent-orange: #f59e0b;
    --assigned-accent-red: #ef4444;
    --assigned-status-active: #dcfce7;
    --assigned-status-active-text: #166534;
    --assigned-status-paused: #fef3c7;
    --assigned-status-paused-text: #92400e;
    --assigned-status-finished: #e0e7ff;
    --assigned-status-finished-text: #3730a3;
    --assigned-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --assigned-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --assigned-progress-bg: #f1f5f9;
    --assigned-progress-fill: linear-gradient(135deg, #10b981, #059669);
    --assigned-btn-primary: #3b82f6;
    --assigned-btn-primary-hover: #2563eb;
    --assigned-btn-secondary: #6b7280;
    --assigned-btn-secondary-hover: #4b5563;
    --assigned-btn-danger: #ef4444;
    --assigned-btn-danger-hover: #dc2626;
}

/* Global Body Styles */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    font-size: 15px;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: subpixel-antialiased;
    visibility: visible !important;
    color: #1e293b;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

/* Apply box-sizing to all elements */
*, *::before, *::after {
    box-sizing: border-box;
}