@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Kalam:wght@700&display=swap');

:root {
    /* Exact User Cyan-Cobalt Scale */
    --blue-500: #0d41e1;
    --blue-400: #0c63e7;
    --blue-300: #0a85ed;
    --blue-200: #09a6f3;
    --blue-100: #07c8f9;

    /* Exact User Solar Flame Scale */
    --orange-1000: #ff4800;
    --orange-900: #ff5400;
    --orange-800: #ff6000;
    --orange-700: #ff6d00;
    --orange-600: #ff7900;
    --orange-500: #ff8500;
    --orange-400: #ff9100;
    --orange-300: #ff9e00;
    --orange-200: #ffaa00;
    --orange-100: #ffb600;

    /* Solid Reflective Brand Palette */
    --primary: #0c63e7;
    --primary-vivid: #09a6f3;
    --primary-hover: #0d41e1;
    --primary-light: rgba(7, 200, 249, 0.15);
    --primary-gradient: linear-gradient(135deg, #0d41e1 0%, #0c63e7 35%, #0a85ed 70%, #07c8f9 100%);
    --blue-gradient: linear-gradient(135deg, #0d41e1 0%, #0c63e7 40%, #0a85ed 75%, #07c8f9 100%);
    --secondary: #0d41e1;
    --bg-light: #FDF4D4;
    --card-bg: #fffff4;
    --card-border: #cbd5e1;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: #cbd5e1;
    --border-strong: #0a85ed;
    
    /* Solar Flame Reflective Gradients */
    --flame-gradient: linear-gradient(135deg, #ff4800 0%, #ff6000 25%, #ff7900 50%, #ff9e00 75%, #ffb600 100%);
    --flame-gradient-rev: linear-gradient(135deg, #ffb600 0%, #ff9100 35%, #ff6d00 70%, #ff4800 100%);
    --orange-gradient: linear-gradient(135deg, #ff5400 0%, #ff7900 50%, #ffaa00 100%);

    /* Semantic Mapping (strictly within user palette) */
    --success-vibrant: #0a85ed;
    --success-gradient: linear-gradient(135deg, #0c63e7 0%, #0a85ed 45%, #07c8f9 100%);
    --danger-vibrant: #ff4800;
    --danger-gradient: linear-gradient(135deg, #ff4800 0%, #ff5400 45%, #ff6d00 100%);
    --warning-vibrant: #ff7900;
    --warning-gradient: linear-gradient(135deg, #ff6000 0%, #ff7900 40%, #ff9e00 80%, #ffb600 100%);
    --info-vibrant: #07c8f9;
    --info-gradient: linear-gradient(135deg, #0c63e7 0%, #0a85ed 40%, #07c8f9 100%);

    /* Solid Depth & Reflective Glow Shadows */
    --shadow-sm: 0 2px 8px -1px rgba(13, 65, 225, 0.08);
    --shadow: 0 8px 24px -2px rgba(13, 65, 225, 0.1), 0 2px 6px -1px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 45px -4px rgba(13, 65, 225, 0.18), 0 8px 18px -2px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 8px 26px -2px rgba(12, 99, 231, 0.5);
    --shadow-flame: 0 8px 26px -2px rgba(255, 72, 0, 0.45);
    
    /* Curvy Design System Radius Tokens */
    --radius-xs: 8px;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 50rem;
}

html {
    background-color: #FDF4D4 !important;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #FDF4D4 !important;
    background-image: 
        radial-gradient(at 0% 0%, rgba(13, 65, 225, 0.08) 0px, transparent 55%),
        radial-gradient(at 100% 0%, rgba(255, 72, 0, 0.09) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(7, 200, 249, 0.08) 0px, transparent 55%),
        radial-gradient(at 0% 100%, rgba(255, 182, 0, 0.10) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Curvy Sidebar Styling (Desktop)
   ========================================================================== */
.sidebar {
    height: 100vh;
    height: 100dvh;
    width: 260px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #090c1e;
    background-image: 
        linear-gradient(180deg, 
            rgba(9, 12, 30, 0.98) 0%, 
            rgba(13, 18, 46, 0.94) 38%, 
            rgba(9, 12, 31, 0.72) 75%, 
            rgba(9, 12, 31, 0.88) 100%),
        url('../img/banners/sidebar_school_night.jpg');
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    will-change: transform;
    touch-action: pan-y;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}

/* Custom Sleek Scrollbar for Navigation */
.sidebar-scrollable {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}
.sidebar-scrollable::-webkit-scrollbar {
    width: 4px;
}
.sidebar-scrollable::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-scrollable::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 4px;
}
.sidebar-scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.28);
}

.sidebar .nav-link {
    color: #94a3b8;
    border-radius: 14px;
    padding: 0.62rem 1rem;
    margin: 0.22rem 0.85rem;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.sidebar .nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.07);
    transform: translateX(3px);
}

.sidebar .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
    font-weight: 600;
}

.main-content {
    margin-left: 260px;
    padding: 2.25rem;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Mobile responsive sidebar & main content spacing */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        padding-top: 76px;
        padding-bottom: 96px;
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }
}

/* ==========================================================================
   Android Aesthetic Curvy Mobile UI Styles
   ========================================================================== */

/* Android Mobile Top Header Bar */
.mobile-top-bar {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 27, 75, 0.96) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
    z-index: 1030;
    height: 64px;
}

.mobile-app-logo {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 11px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-school-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.1px;
    color: #ffffff;
}

.mobile-school-subtitle {
    font-size: 0.66rem;
    color: rgba(226, 232, 240, 0.75);
    font-weight: 500;
    line-height: 1.1;
    margin-top: 1px;
    letter-spacing: 0.25px;
}

/* Header Icon Buttons (Bell, etc.) */
.mobile-header-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    padding: 0;
}

.mobile-header-icon-btn:hover,
.mobile-header-icon-btn:active {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: scale(0.95);
}

.mobile-notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background-color: #ff4800;
    border: 1.5px solid #070d1e;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 72, 0, 0.85);
}

/* Language Switcher Pill */
.mobile-lang-pill {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 2px;
    border: 1px solid rgba(7, 200, 249, 0.2);
    height: 32px;
}

.mobile-lang-btn {
    padding: 3px 9px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-lang-btn:hover {
    color: #ffffff;
}

.mobile-lang-btn.active {
    background: linear-gradient(135deg, #ff4800 0%, #ff6d00 50%, #ff9100 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 72, 0, 0.45);
}

/* Avatar Ring & Placeholder */
.mobile-avatar-ring {
    border: 2px solid #07c8f9;
    box-shadow: 0 0 10px rgba(7, 200, 249, 0.5);
    transition: transform 0.2s ease;
}

.mobile-avatar-ring:active {
    transform: scale(0.92);
}

.mobile-avatar-placeholder {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d41e1 0%, #0c63e7 40%, #07c8f9 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(12, 99, 231, 0.4);
    transition: transform 0.2s ease;
}

.mobile-avatar-placeholder:active {
    transform: scale(0.92);
}

/* Floating Curvy Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    background: rgba(7, 13, 30, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(7, 200, 249, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    z-index: 1040;
    margin: 10px 14px max(10px, env(safe-area-inset-bottom)) 14px;
    border-radius: 28px !important;
}

.mobile-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 62px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 6px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    flex: 1;
    padding: 4px 0;
    transition: transform 0.15s ease, color 0.2s ease;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item:active {
    transform: scale(0.9);
}

.mobile-nav-icon-wrapper {
    width: 50px;
    height: 28px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-label {
    font-size: 0.68rem;
    font-weight: 600;
    margin-top: 3px;
    letter-spacing: 0.2px;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.mobile-nav-item.active {
    color: #ffffff;
}

.mobile-nav-item.active .mobile-nav-icon-wrapper {
    background: linear-gradient(135deg, #0d41e1 0%, #0c63e7 40%, #0a85ed 70%, #07c8f9 100%);
    color: #ffffff;
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 4px 16px rgba(12, 99, 231, 0.55);
}

.mobile-nav-item.active .mobile-nav-label {
    color: #07c8f9;
    font-weight: 700;
}

/* Android Bottom Sheet Navigation Drawer Modal */
.mobile-bottom-sheet-modal .modal-dialog-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    max-width: 100%;
}

.mobile-bottom-sheet-content {
    border-radius: 28px 28px 0 0 !important;
    background-color: #f8faff;
    background-image: 
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(255, 255, 255, 0.86) 30%, 
            rgba(255, 255, 255, 0.78) 70%, 
            rgba(255, 255, 255, 0.94) 100%),
        url('../img/banners/mobile_drawer_bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.35) !important;
    animation: slideUpSheet 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-bottom-sheet-modal .modal-body {
    overflow-y: auto;
    max-height: calc(85vh - 170px);
    -webkit-overflow-scrolling: touch;
}

.mobile-bottom-sheet-modal .modal-footer {
    position: sticky;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10;
    border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 16px)) !important;
}

@keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.bottom-sheet-drag-handle {
    width: 44px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 4px;
}

/* Mobile Bottom Sheet Drawer Profile Banner with 3D Pastel Education Background */
.mobile-drawer-profile-banner {
    position: relative;
    background-color: #f8fafc;
    background-image: 
        linear-gradient(90deg, 
            rgba(255, 255, 255, 0.96) 0%, 
            rgba(255, 255, 255, 0.88) 52%, 
            rgba(255, 255, 255, 0.35) 80%, 
            rgba(255, 255, 255, 0.10) 100%),
        url('../img/banners/school_hero_pastel_3d.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    border: 1.5px solid rgba(196, 181, 253, 0.65) !important;
    box-shadow: 0 4px 18px -2px rgba(99, 102, 241, 0.12);
}

/* Mobile Bottom Sheet Menu Shortcut Cards (Frosted Glassmorphism over Background) */
.mobile-menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 13px 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.92);
    text-decoration: none;
    color: #1e293b;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 14px -2px rgba(99, 102, 241, 0.08);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-card:hover, .mobile-menu-card:active {
    background: rgba(255, 255, 255, 0.98);
    border-color: #6366f1;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px -2px rgba(99, 102, 241, 0.22);
    color: #4f46e5;
}


.mobile-menu-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 6px;
    transition: transform 0.2s ease;
}

.mobile-menu-card:active .mobile-menu-icon {
    transform: scale(1.1);
}

/* Color & Highlight Helper Classes */
.text-indigo { color: #6366f1 !important; }
.text-purple { color: #a855f7 !important; }
.text-teal { color: #14b8a6 !important; }
.bg-purple-subtle { background-color: #f3e8ff !important; }
.bg-teal-subtle { background-color: #ccfbf1 !important; }

/* ==========================================================================
   Ultra-Curvy & Modern General UI Elements
   ========================================================================== */

/* Curvy Cards across the system with Solid Reflective Sheen */
.card, .card-premium {
    background: var(--card-bg);
    border: 1.5px solid var(--card-border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-premium:hover, .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -4px rgba(12, 99, 231, 0.22), 0 6px 14px -2px rgba(15, 23, 42, 0.08) !important;
    border-color: #0a85ed !important;
}

/* Curvy Buttons with Solid High-Contrast & Reflective Gradients */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 750;
    padding: 0.6rem 1.25rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: linear-gradient(135deg, #0d41e1 0%, #0c63e7 35%, #0a85ed 70%, #07c8f9 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(12, 99, 231, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #0d41e1 0%, #0a85ed 60%, #07c8f9 100%) !important;
    box-shadow: 0 6px 22px rgba(12, 99, 231, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #0c63e7 0%, #0a85ed 45%, #07c8f9 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(7, 200, 249, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.btn-success:hover, .btn-success:focus {
    background: linear-gradient(135deg, #0d41e1 0%, #0c63e7 50%, #0a85ed 100%) !important;
    box-shadow: 0 6px 22px rgba(7, 200, 249, 0.55) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #ff4800 0%, #ff5400 45%, #ff6d00 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 72, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.btn-danger:hover, .btn-danger:focus {
    background: linear-gradient(135deg, #ff4800 0%, #ff6000 60%, #ff7900 100%) !important;
    box-shadow: 0 6px 22px rgba(255, 72, 0, 0.6) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-warning {
    background: linear-gradient(135deg, #ff6000 0%, #ff7900 40%, #ff9e00 80%, #ffb600 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 121, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.btn-warning:hover, .btn-warning:focus {
    background: linear-gradient(135deg, #ff4800 0%, #ff6d00 50%, #ffaa00 100%) !important;
    box-shadow: 0 6px 22px rgba(255, 121, 0, 0.6) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-outline-primary {
    background: #ffffff !important;
    border: 2px solid #0c63e7 !important;
    color: #0c63e7 !important;
    font-weight: 750;
}

.btn-outline-primary:hover, .btn-outline-primary:active {
    background: linear-gradient(135deg, #0d41e1 0%, #0a85ed 60%, #07c8f9 100%) !important;
    border-color: #0c63e7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(12, 99, 231, 0.45) !important;
    transform: translateY(-1px);
}

.btn-outline-secondary {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 750;
}

.btn-outline-secondary:hover {
    background: #0d41e1 !important;
    border-color: #0d41e1 !important;
    color: #ffffff !important;
}

/* Radio Button Grid for OMR & Manual Marking with Solid Reflective Fill */
.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary {
    background: linear-gradient(135deg, #0d41e1 0%, #0c63e7 45%, #07c8f9 100%) !important;
    border-color: #0c63e7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(12, 99, 231, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.05);
    z-index: 2;
}

.btn-check:checked + .btn-outline-secondary {
    background: #ff4800 !important;
    border-color: #ff4800 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(255, 72, 0, 0.4) !important;
    transform: scale(1.03);
    z-index: 2;
}

.btn-check:not(:checked) + .btn-outline-primary {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
}

.btn-check:not(:checked) + .btn-outline-primary:hover {
    background: rgba(7, 200, 249, 0.15) !important;
    border-color: #0a85ed !important;
    color: #0d41e1 !important;
}

.btn-touch {
    padding: 0.65rem 1.35rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-rounded-pill {
    border-radius: var(--radius-pill) !important;
}

/* Curvy Form Inputs & Selects with High Contrast Crispness */
.form-control, .form-select, .form-control-premium {
    border-radius: var(--radius-sm) !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 0.75rem 1.1rem;
    font-weight: 600;
    color: #0f172a !important;
    background-color: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus, .form-select:focus, .form-control-premium:focus {
    background-color: #ffffff !important;
    border-color: #0c63e7 !important;
    box-shadow: 0 0 0 4px rgba(7, 200, 249, 0.28) !important;
    outline: none;
}

.input-group > .form-control, .input-group > .form-select {
    border-radius: var(--radius-sm);
}

/* Curvy Modals & Dialogs with Reflective Depth */
.modal-content {
    background: #fffff4 !important;
    border-radius: var(--radius-lg) !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 25px 50px -12px rgba(13, 65, 225, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) !important;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1.5px solid #cbd5e1 !important;
    padding: 1.25rem 1.5rem;
}

.modal-footer {
    border-top: 1.5px solid #cbd5e1 !important;
    padding: 1rem 1.5rem;
}

/* Curvy Tables & Responsive Wrappers with Solid Headers */
.table-responsive {
    border-radius: var(--radius-md);
    border: 1.5px solid #cbd5e1 !important;
    overflow: hidden;
    background: #fffff4;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: linear-gradient(180deg, #FDF4D4 0%, #faecc0 100%) !important;
    font-weight: 800;
    color: #0f172a !important;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.9rem 1rem;
    border-bottom: 2px solid #cbd5e1 !important;
}

.table tbody td {
    padding: 0.95rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #e2e8f0;
}

.table tbody tr:hover td {
    background-color: rgba(253, 244, 212, 0.75);
}

/* Curvy Badges with Solid Saturated Vibrancy & Crisp Text */
.badge {
    border-radius: var(--radius-pill);
    padding: 0.45em 0.85em;
    font-weight: 750;
    letter-spacing: 0.25px;
}

.badge.bg-primary, .badge.text-bg-primary {
    background: linear-gradient(135deg, #0d41e1 0%, #0c63e7 50%, #07c8f9 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(12, 99, 231, 0.4);
}

.badge.bg-success, .badge.text-bg-success {
    background: linear-gradient(135deg, #0c63e7 0%, #0a85ed 50%, #07c8f9 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(7, 200, 249, 0.4);
}

.badge.bg-danger, .badge.text-bg-danger {
    background: linear-gradient(135deg, #ff4800 0%, #ff5400 50%, #ff6d00 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(255, 72, 0, 0.4);
}

.badge.bg-warning, .badge.text-bg-warning {
    background: linear-gradient(135deg, #ff6000 0%, #ff7900 40%, #ff9e00 80%, #ffb600 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(255, 121, 0, 0.4);
}

.badge.bg-info, .badge.text-bg-info {
    background: linear-gradient(135deg, #0c63e7 0%, #0a85ed 50%, #07c8f9 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(7, 200, 249, 0.4);
}

.badge.bg-dark, .badge.text-bg-dark {
    background: #0f172a !important;
    color: #ffffff !important;
}

/* Transform dull pastel badges into high-contrast user-tinted badges */
.bg-primary-subtle, .bg-primary.bg-opacity-10 {
    background-color: rgba(7, 200, 249, 0.14) !important;
    color: #0d41e1 !important;
    border: 1.5px solid #09a6f3 !important;
    font-weight: 750;
}

.bg-success-subtle, .bg-success.bg-opacity-10 {
    background-color: rgba(7, 200, 249, 0.14) !important;
    color: #0c63e7 !important;
    border: 1.5px solid #07c8f9 !important;
    font-weight: 750;
}

.bg-danger-subtle, .bg-danger.bg-opacity-10 {
    background-color: rgba(255, 72, 0, 0.14) !important;
    color: #ff4800 !important;
    border: 1.5px solid #ff6000 !important;
    font-weight: 750;
}

.bg-warning-subtle, .bg-warning.bg-opacity-10 {
    background-color: rgba(255, 170, 0, 0.16) !important;
    color: #ff5400 !important;
    border: 1.5px solid #ffaa00 !important;
    font-weight: 750;
}

.bg-info-subtle, .bg-info.bg-opacity-10 {
    background-color: rgba(7, 200, 249, 0.18) !important;
    color: #0a85ed !important;
    border: 1.5px solid #07c8f9 !important;
    font-weight: 750;
}

.bg-light {
    background-color: #FDF4D4 !important;
}

/* Metrics Summary Badges with Solid Accent Borders */
.metric-card {
    border-left: 5px solid #0c63e7 !important;
    border-radius: var(--radius-md) !important;
    background: #fffff4;
    border: 1.5px solid #cbd5e1;
}

/* ==========================================================================
   Stat Cards with Rich Background Patterns & Glass Depth
   ========================================================================== */
.stat-card {
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border-radius: 20px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 8px 24px -2px rgba(13, 65, 225, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 36px -4px rgba(12, 99, 231, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Layer 1: Geometric SVG Micro-Texture */
.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* Layer 2: Floating Concentric Watermark Rings in Corner */
.stat-card::after {
    content: '';
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 106px;
    height: 106px;
    border-radius: 50%;
    border: 10px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.08), 0 0 0 12px rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover::after {
    transform: scale(1.2) rotate(15deg);
}

.stat-card > * {
    position: relative;
    z-index: 1;
}

/* Card 1: Electric Cobalt-Cyan with Connected Hex Nodes Pattern */
.stat-blue {
    background: linear-gradient(135deg, #0d41e1 0%, #0c63e7 45%, #07c8f9 100%);
}
.stat-blue::before {
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.28) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.12' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='3.5'/%3E%3Ccircle cx='0' cy='20' r='2'/%3E%3Ccircle cx='40' cy='20' r='2'/%3E%3Ccircle cx='20' cy='0' r='2'/%3E%3Ccircle cx='20' cy='40' r='2'/%3E%3Ccircle cx='0' cy='0' r='1.5'/%3E%3Ccircle cx='40' cy='0' r='1.5'/%3E%3Ccircle cx='0' cy='40' r='1.5'/%3E%3Ccircle cx='40' cy='40' r='1.5'/%3E%3Cpath d='M0 20 L40 20 M20 0 L20 40' stroke='%23ffffff' stroke-width='0.8' stroke-opacity='0.08'/%3E%3C/g%3E%3C/svg%3E");
}

/* Card 2: Solid Royal-Sky with Isometric Blueprint Pattern */
.stat-green {
    background: linear-gradient(135deg, #0c63e7 0%, #0a85ed 45%, #09a6f3 100%);
}
.stat-green::before {
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.28) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' stroke-opacity='0.15'%3E%3Crect x='4' y='4' width='12' height='12' rx='2' fill='%23ffffff' fill-opacity='0.07'/%3E%3Crect x='20' y='4' width='12' height='12' rx='2' fill='%23ffffff' fill-opacity='0.03'/%3E%3Crect x='4' y='20' width='12' height='12' rx='2' fill='%23ffffff' fill-opacity='0.03'/%3E%3Crect x='20' y='20' width='12' height='12' rx='2' fill='%23ffffff' fill-opacity='0.09'/%3E%3C/g%3E%3C/svg%3E");
}

/* Card 3: Vivid Azure-Cyan with Concentric Target Waveforms */
.stat-teal {
    background: linear-gradient(135deg, #0a85ed 0%, #09a6f3 50%, #07c8f9 100%);
}
.stat-teal::before {
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.3) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' stroke-opacity='0.16'%3E%3Ccircle cx='22' cy='22' r='6' fill='%23ffffff' fill-opacity='0.08'/%3E%3Ccircle cx='22' cy='22' r='14' stroke-dasharray='3,3'/%3E%3Ccircle cx='22' cy='22' r='20' stroke-opacity='0.08'/%3E%3C/g%3E%3C/svg%3E");
}

/* Card 4: Solar Flame Orange with Speed Matrix & Stipple Dots */
.stat-amber {
    background: linear-gradient(135deg, #ff4800 0%, #ff6d00 50%, #ffaa00 100%);
    box-shadow: 0 8px 24px -2px rgba(255, 72, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.stat-amber::before {
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.28) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.14'%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3Ccircle cx='20' cy='4' r='1.5'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Ccircle cx='28' cy='12' r='1.5'/%3E%3Ccircle cx='4' cy='20' r='1.5'/%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3Ccircle cx='12' cy='28' r='1.5'/%3E%3Ccircle cx='28' cy='28' r='2.5'/%3E%3C/g%3E%3Cline x1='0' y1='32' x2='32' y2='0' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.1'/%3E%3C/svg%3E");
}

/* Card 5 (Student Purple): Deep Flame Orange with Radiant Star Accents */
.stat-purple {
    background: linear-gradient(135deg, #ff4800 0%, #ff5400 50%, #ff7900 100%);
    box-shadow: 0 8px 24px -2px rgba(255, 72, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.stat-purple::before {
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.28) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.14'%3E%3Cpath d='M18 6 L20 14 L28 16 L20 18 L18 26 L16 18 L8 16 L16 14 Z'/%3E%3Ccircle cx='6' cy='6' r='1.5'/%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

.stat-icon {
    font-size: 1.5rem;
    opacity: 0.92;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
    margin-top: 4px;
    font-weight: 700;
}
.stat-sep {
    font-size: 1.4rem;
    opacity: 0.6;
    margin: 0 4px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Badge status stylings */
.badge-status {
    padding: 0.4em 0.8em;
    font-weight: 700;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
}

.badge-status.completed {
    background-color: rgba(7, 200, 249, 0.16);
    color: #0c63e7;
    border: 1.5px solid #07c8f9;
}

.badge-status.pending {
    background-color: rgba(255, 170, 0, 0.16);
    color: #ff5400;
    border: 1.5px solid #ffaa00;
}

/* Custom App Calligraphy */
.app-title-calligraphy {
    font-family: 'Kalam', cursive;
    font-weight: 700;
    font-size: 1.7rem;
    color: #ffffff;
    background: linear-gradient(135deg, #ffb600 0%, #ff7900 50%, #ff4800 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sidebar scrollbar styling & smooth touch momentum */
.sidebar-scrollable {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
    touch-action: pan-y;
    min-height: 0;
    flex: 1 1 auto;
}

.sidebar-scrollable::-webkit-scrollbar {
    width: 4px;
}
.sidebar-scrollable::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-scrollable::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
.sidebar-scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar-footer {
    flex-shrink: 0;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

/* ==========================================================================
   Admin OMR Exam Module - Mobile-First Responsive Styles
   ========================================================================== */

/* Floating Safe Action Dock (Floats cleanly above curvy mobile bottom nav) */
.omr-floating-dock {
    position: sticky;
    bottom: 20px;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 10px 20px;
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .omr-floating-dock {
        position: fixed;
        bottom: calc(82px + env(safe-area-inset-bottom, 8px));
        left: 14px;
        right: 14px;
        max-width: 540px;
        margin: 0 auto;
        z-index: 1035;
        padding: 8px 16px;
        border-radius: 22px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    }
}

/* 2-Tier Mobile Exam Action Layout */
.omr-card-primary-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.omr-card-primary-actions .btn {
    flex: 1;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 12px;
}

.omr-card-tool-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.omr-tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 2px;
    border-radius: 10px;
    color: #1e293b;
    background: #fffff4;
    border: 1.5px solid #cbd5e1;
    font-size: 0.68rem;
    font-weight: 750;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    user-select: none;
    min-height: 48px;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}
.omr-tool-btn i {
    font-size: 1.05rem;
    margin-bottom: 3px;
    color: #0c63e7;
    transition: transform 0.2s ease, color 0.2s ease;
}
.omr-tool-btn:hover, .omr-tool-btn:active {
    background: linear-gradient(135deg, #0d41e1 0%, #07c8f9 100%) !important;
    color: #ffffff !important;
    border-color: #0c63e7 !important;
    box-shadow: 0 4px 14px rgba(12, 99, 231, 0.45) !important;
    transform: translateY(-2px);
}
.omr-tool-btn:hover i {
    color: #ffffff !important;
    transform: scale(1.15);
}
.omr-tool-btn.btn-danger-soft {
    border-color: #ff7900;
}
.omr-tool-btn.btn-danger-soft i {
    color: #ff4800;
}
.omr-tool-btn.btn-danger-soft:hover {
    background: linear-gradient(135deg, #ff4800 0%, #ff7900 100%) !important;
    color: #ffffff !important;
    border-color: #ff4800 !important;
    box-shadow: 0 4px 14px rgba(255, 72, 0, 0.45) !important;
}

/* OMR Section Segment Pill Navigator */
.omr-segment-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.omr-segment-nav::-webkit-scrollbar {
    display: none;
}

.omr-segment-pill {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 750;
    background: #fffff4;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}
.omr-segment-pill.active {
    background: linear-gradient(135deg, #0d41e1 0%, #07c8f9 100%) !important;
    color: #ffffff !important;
    border-color: #0c63e7 !important;
    box-shadow: 0 4px 14px rgba(12, 99, 231, 0.45) !important;
}

/* OMR Answer Bubble Styles with Crisp Saturation */
.omr-bubble-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #fffff4;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #cbd5e1;
    touch-action: manipulation;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05);
}
.omr-bubble-btn:hover {
    border-color: #07c8f9;
    background: rgba(7, 200, 249, 0.14);
    color: #0d41e1;
}
.omr-bubble-btn:active {
    transform: scale(0.92);
}
.omr-bubble-radio:checked + .omr-bubble-btn {
    background: linear-gradient(135deg, #0d41e1 0%, #0c63e7 40%, #07c8f9 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(12, 99, 231, 0.55) !important;
    border-color: #0c63e7 !important;
    transform: scale(1.06);
}

/* Student & Admin Exam Cards with Solid Reflective Definition */
.student-omr-card, .exam-card-touch {
    border: 1.5px solid #cbd5e1 !important;
    border-radius: var(--radius-md) !important;
    background: #fffff4 !important;
    box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.student-omr-card:hover, .exam-card-touch:hover {
    transform: translateY(-3px);
    border-color: #0a85ed !important;
    box-shadow: 0 16px 36px -4px rgba(12, 99, 231, 0.22), 0 6px 14px -2px rgba(15, 23, 42, 0.08) !important;
}

/* OMR Accuracy Bar (Correct vs Wrong/Blank) */
.omr-accuracy-track {
    height: 8px;
    background: rgba(255, 72, 0, 0.15);
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    width: 100%;
}
.omr-accuracy-fill {
    height: 100%;
    background: linear-gradient(90deg, #0d41e1 0%, #0c63e7 45%, #07c8f9 100%);
    border-radius: 999px 0 0 999px;
    transition: width 0.3s ease;
}

/* Search Box Pill */
.omr-search-wrap {
    position: relative;
    width: 100%;
}
.omr-search-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}
.omr-search-wrap input {
    padding-left: 38px;
    padding-right: 32px;
    border-radius: 24px;
    font-size: 0.85rem;
    height: 42px;
    border: 1px solid #cbd5e1;
    background: #fffff4;
}
.omr-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.85rem;
    display: none;
}

/* ==========================================================================
   Responsive Background Assets: Navigation Menus & Large Horizontal Bars
   ========================================================================== */

/* 1. Nav Menu / Mobile Bar Mesh Background */
.bg-nav-mesh,
.mobile-top-bar.with-banner-bg {
    background-color: #070d1e;
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.86) 0%, rgba(30, 27, 75, 0.84) 100%), 
                      url('../img/banners/nav_menu_bg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* 2. Horizontal Hero Bar with Cyan/Cobalt 3D Ribbons */
.bg-hero-fluid,
.dash-hero.with-hero-bg {
    background-color: #0c63e7;
    background-image: linear-gradient(135deg, rgba(7, 13, 30, 0.62) 0%, rgba(12, 99, 231, 0.52) 100%), 
                      url('../img/banners/horizontal_hero_bar.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* 3. Curved Energy Arc Horizontal Bar */
.bg-bar-energy {
    background-color: #070d1e;
    background-image: linear-gradient(135deg, rgba(7, 13, 30, 0.65) 0%, rgba(11, 23, 54, 0.72) 100%), 
                      url('../img/banners/curved_energy_bar.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Generic Reusable Responsive Horizontal Bar Component */
.banner-horizontal-bar {
    position: relative;
    border-radius: var(--radius-md, 20px);
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 10px 30px -5px rgba(13, 65, 225, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1.75rem 2rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-horizontal-bar:hover {
    box-shadow: 0 14px 36px -4px rgba(13, 65, 225, 0.45);
}

@media (max-width: 768px) {
    .banner-horizontal-bar {
        padding: 1.25rem 1rem;
        min-height: 100px;
        border-radius: var(--radius-sm, 14px);
    }
}

/* ==========================================================================
   Indian School & Education Specific Responsive Backgrounds
   ========================================================================== */

/* 1. Indian School Nav Bar & Top Header (Glowing Brass Bell, Globe, Books & Math) */
.bg-indian-school-nav,
.mobile-top-bar.with-school-nav {
    background-color: #070d1e;
    background-image: linear-gradient(180deg, rgba(7, 13, 30, 0.78) 0%, rgba(11, 23, 54, 0.88) 100%), 
                      url('../img/banners/indian_school_nav.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* 2. Indian School Students & Tablets Hero Bar */
.bg-indian-school-hero,
.dash-hero.with-school-hero {
    background-color: #070d1e;
    background-image: linear-gradient(135deg, rgba(7, 13, 30, 0.72) 0%, rgba(13, 65, 225, 0.62) 55%, rgba(7, 200, 249, 0.45) 100%), 
                      url('../img/banners/indian_school_hero.jpg') !important;
    background-size: cover !important;
    background-position: center 30% !important;
    background-repeat: no-repeat !important;
}

/* 3. Indian Smart Classroom Horizontal Bar */
.bg-indian-smart-class {
    background-color: #070d1e;
    background-image: linear-gradient(135deg, rgba(7, 13, 30, 0.75) 0%, rgba(12, 99, 231, 0.55) 100%), 
                      url('../img/banners/indian_smart_classroom.jpg') !important;
    background-size: cover !important;
    background-position: center 40% !important;
    background-repeat: no-repeat !important;
}

/* 4. Indian Primary School Campus with National Flag Horizontal Bar */
.bg-indian-primary-school {
    background-color: #070d1e;
    background-image: linear-gradient(135deg, rgba(7, 13, 30, 0.68) 0%, rgba(13, 65, 225, 0.58) 100%), 
                      url('../img/banners/indian_primary_school.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* ==========================================================================
   3D Pastel Claymorphic Hero Banners & Sidebar Assets (User Reference Style)
   ========================================================================== */

/* 5. Exact User Reference 3D Pastel Hero Banner (Books, Pencil Cup, Plant & Lavender Waves) */
.dash-hero.with-pastel-3d,
.bg-hero-pastel-3d {
    background-color: #f8fafc;
    background-image: url('../img/banners/school_hero_pastel_3d.jpg') !important;
    background-size: cover !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    border-radius: 24px !important;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.12) !important;
    min-height: 140px;
}

.dash-hero.with-pastel-3d .hero-title {
    color: #0f172a !important;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.dash-hero.with-pastel-3d .hero-subtitle {
    color: #475569 !important;
    font-weight: 500;
}

.dash-hero.with-pastel-3d .hero-pill {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* 6. 3D Graduation & Pastel Wave Banner */
.bg-hero-graduation-3d {
    background-color: #f8fafc;
    background-image: url('../img/banners/graduation_hero_pastel.jpg') !important;
    background-size: cover !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    border-radius: 24px !important;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.12) !important;
}

/* Sidebar Logout Button */
.sidebar-logout-btn {
    background: rgba(239, 68, 68, 0.08);
    border: 1.5px solid rgba(239, 68, 68, 0.32);
    color: #f87171;
    border-radius: 12px;
    padding: 0.55rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.sidebar-logout-btn:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.6);
    color: #ffffff;
}

/* 7. Sidebar Footer with 3D Schoolhouse Night as Background */
.sidebar-footer-bg {
    position: relative;
    padding: 1rem 1rem 0.85rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: #090c1f;
    background-image: 
        linear-gradient(180deg, rgba(9, 12, 31, 0.65) 0%, rgba(9, 12, 31, 0.22) 42%, rgba(9, 12, 31, 0.82) 100%),
        url('../img/banners/sidebar_school_night.jpg') !important;
    background-size: cover !important;
    background-position: center 42% !important;
    background-repeat: no-repeat !important;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.sidebar-weather-pill {
    background: rgba(11, 15, 34, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}



