/* 
    LaiEduHub Premium Design System
    Theme: Modern Jungle Green & Glassmorphism
    Typography: Outfit (Headings), Inter (Body)
*/

:root {
    color-scheme: dark;
    /* Primary Palette: Navy & Teal */
    --primary: #003366;
    --primary-light: #00509d;
    --primary-dark: #002244;
    --primary-rgb: 0, 51, 102;

    /* Secondary & Accent: Teal & Gold */
    --secondary: #009688;
    --accent: #FFC107;
    --accent-light: #fff8e1;

    /* Semantic Colors */
    --info: #0ea5e9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Neutrals & Backgrounds */
    --bg-main: #f0f4f8;
    --bg-sidebar: #003366;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #cbd5e1;

    /* Effects */
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Global Aesthetics */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

/* Glassmorphism Classes */
.glass-pane {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* Specialized Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 100px;
    padding: 10px 24px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(26, 67, 33, 0.2);
}

.btn-premium:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(26, 67, 33, 0.3);
    color: white;
}

.btn-premium-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 100px;
}

/* Badges */
.badge-cbc {
    padding: 6px 12px;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.badge-ee {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.badge-me {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.badge-ae {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fef08a;
}

.badge-be {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Dashboard Widgets */
.stat-widget {
    padding: 24px;
    text-align: center;
}

.stat-icon-wrapper {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Sidebar Utilities */
.sidebar-rounded {
    overflow: hidden;
    margin: 10px;
    border-radius: var(--radius-lg);
}

/* Input Styles */
.form-control-premium {
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    padding: 12px 16px;
    transition: all 0.2s;
}

.form-control-premium:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 67, 33, 0.1);
}

/* 
   Responsive Global Adjustments 
   Ensuring display classes and large containers scale beautifully on phones.
*/
@media (max-width: 768px) {
    .display-1 { font-size: 3rem !important; }
    .display-2 { font-size: 2.5rem !important; }
    .display-3 { font-size: 2.25rem !important; }
    .display-4 { font-size: 2rem !important; }
    
    .hero-section { 
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
        border-radius: 0 0 40px 40px !important; 
    }
    
    .lead { font-size: 1.1rem !important; }
}