/* Modern Light Theme with Lexend Font */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

body {
    background: #f0f5fa !important;
    color: #f0f5fa !important;
    font-family: "Lexend", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 400;
}

/* Apply font to all text elements */
h1, h2, h3, h4, h5, h6,
.main-header .logo,
.navbar .nav > li > a,
.sidebar-menu > li > a,
.dropdown-menu > li > a,
.btn,
.form-control,
.box-header,
.panel-heading,
.info-box-text,
.info-box-number,
.session-link > a {
    font-family: "Lexend", sans-serif !important;
    font-optical-sizing: auto;
}

/* Headings with different weights */
h1 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

h2, h3 {
    font-weight: 700;
    letter-spacing: -0.3px;
}

h4, h5, h6 {
    font-weight: 600;
}

/* Navigation elements - medium weight */
.main-header .logo,
.navbar .nav > li > a,
.sidebar-menu > li > a {
    font-weight: 500;
}

/* Buttons - semi-bold for emphasis */
.btn {
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Form elements - regular weight */
.form-control,
.dropdown-menu > li > a {
    font-weight: 400;
}

/* Box headers and info text - medium weight */
.box-header,
.panel-heading,
.info-box-text {
    font-weight: 500;
}

/* Numbers and stats - bold */
.info-box-number {
    font-weight: 700;
}

/* Session links - medium weight */
.session-link > a {
    font-weight: 500;
}

/* Small text and labels - light weight */
.small, small, .label {
    font-weight: 300;
}

.wrapper {
    background: transparent !important;
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
}

.main-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e6eef7;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.main-header .logo {
    background: #ffffff !important;
    color: #2c3e50 !important;
    border-right: 1px solid #e6eef7;
}

.main-sidebar {
    background: #ffffff !important;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}

.main-footer {
    background: #ffffff !important;
    color: #2c3e50 !important;
    border-top: 1px solid #e6eef7;
}

/* Text Styling */
h1, h2, h3 {
    color: #3498db;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

h4, h5, h6, p, div {
    color: #2c3e50;
}

/* Links */
a {
    color: #3498db;
    transition: all 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: none;
}

/* Boxes and panels */
.box, .panel {
    background: #ffffff !important;
    color: #2c3e50 !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e6eef7;
}

.box-header, .panel-heading {
    background: #f8fafd !important;
    color: #3498db !important;
    border-radius: 8px 8px 0 0;
}

/* Buttons */
.btn-primary {
    background: #3498db !important;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: white !important;
}

.btn-primary:hover {
    background: #2980b9 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Navigation */
.sidebar-menu > li > a {
    color: #2c3e50 !important;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-menu > li:hover > a {
    background: rgba(52, 152, 219, 0.1) !important;
    color: #3498db !important;
    border-left: 3px solid #3498db;
}

/* Form elements */
.form-control {
    background: #ffffff !important;
    border: 1px solid #e6eef7;
    color: #2c3e50 !important;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
}

/* Cards and widgets */
.info-box {
    background: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.info-box-icon {
    position: relative;
    overflow: hidden;
    background-color: rgba(44, 62, 80, 0.1) !important;
    color: #2980b9 !important;
}

.info-box-icon i {
    color: #2980b9 !important;
}

.info-box-icon:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    animation: shimmer 1s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Top header bar styling */
.main-header .navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e6eef7;
}

.navbar .nav > li > a {
    color: #2c3e50 !important;
}

.navbar .nav > li > a:hover {
    background: rgba(52, 152, 219, 0.1) !important;
    color: #3498db !important;
}

/* Dropdown menus and subcategories */
.dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e6eef7 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.dropdown-menu > li > a {
    color: #2c3e50 !important;
    transition: all 0.3s ease;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background: rgba(52, 152, 219, 0.1) !important;
    color: #3498db !important;
}

/* Session menu */
.navbar .nav > li.session-link > a,
.nav > li.session-link > a,
.session-link > a {
    background: #ffffff !important;
    color: #2c3e50 !important;
    border: 1px solid #e6eef7;
}

.navbar .nav > li.session-link > a:hover,
.nav > li.session-link > a:hover,
.session-link > a:hover {
    background: #f8fafd !important;
    color: #3498db !important;
}

.session-link .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e6eef7 !important;
}

.session-link .dropdown-menu > li > a {
    color: #2c3e50 !important;
}

.session-link .dropdown-menu > li > a:hover {
    background: rgba(52, 152, 219, 0.1) !important;
    color: #3498db !important;
}

/* Session Fixed Menu */
.sessionul.fixedmenu {
    background: #ffffff !important;
    border: 1px solid #e6eef7 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.sessionul.fixedmenu li {
    border-bottom: 1px solid rgba(230, 238, 247, 0.5) !important;
}

.sessionul.fixedmenu li:last-child {
    border-bottom: none !important;
}

.sessionul.fixedmenu li a {
    color: #2c3e50 !important;
    transition: all 0.3s ease;
}

.sessionul.fixedmenu li a:hover {
    background: rgba(52, 152, 219, 0.1) !important;
    color: #3498db !important;
}

.sessionul.fixedmenu li.active a {
    background: rgba(52, 152, 219, 0.1) !important;
    color: #3498db !important;
}

/* Treeview menu items */
.sidebar-menu .treeview-menu {
    background: #ffffff !important;
    border-left: 3px solid #e6eef7;
}

.sidebar-menu .treeview-menu > li > a {
    color: #2c3e50 !important;
    transition: all 0.3s ease;
}

.sidebar-menu .treeview-menu > li > a:hover {
    background: rgba(52, 152, 219, 0.1) !important;
    color: #3498db !important;
}

.sidebar-menu .treeview-menu > li.active > a {
    color: #3498db !important;
    background: rgba(52, 152, 219, 0.1) !important;
}

/* Active dropdown state */
.sidebar-menu .treeview.active > a {
    background: #ffffff !important;
    color: #3498db !important;
}

/* Submenu indicators */
.sidebar-menu .treeview > a > .pull-right-container > .fa-angle-left {
    color: #3498db !important;
}

/* Currency selector and other top header elements */
.headertopmenu {
    background: transparent !important;
    margin-right: 10px !important;
}

.headertopmenu > li {
    margin: 0 2px;
}

.headertopmenu > li > a {
    color: #2c3e50 !important;
    transition: all 0.3s ease;
    padding: 15px 12px !important;
    min-width: 50px !important;
    text-align: center;
}

.headertopmenu > li > a:hover {
    background: rgba(52, 152, 219, 0.1) !important;
    color: #3498db !important;
}

/* Search box styling */
.navbar-form input[type="text"],
.navbar-nav > .search-menu .form-control {
    background: #ffffff !important;
    border: 1px solid #e6eef7;
    color: #2c3e50 !important;
    border-radius: 6px !important;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-form input[type="text"]:focus,
.navbar-nav > .search-menu .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
}

/* Sidebar icons */
.sidebar-menu > li > a > i,
.sidebar-menu .treeview-menu > li > a > i,
.treeview > a > i {
    color: #3498db !important;
}

.sidebar-menu > li:hover > a > i,
.sidebar-menu .treeview-menu > li:hover > a > i,
.treeview:hover > a > i {
    color: #2980b9 !important;
}

/* Search icon */
.navbar-nav > .search-menu > a > i {
    color: #3498db !important;
}

.navbar-nav > .search-menu:hover > a > i {
    color: #2980b9 !important;
}

/* School name and other text in header */
.main-header .sidebar-toggle,
.main-header .navbar .navbar-custom-menu .navbar-nav > li > a,
.main-header .navbar .nav > li > a {
    color: #2c3e50 !important;
}

.main-header .sidebar-toggle:hover,
.main-header .navbar .navbar-custom-menu .navbar-nav > li > a:hover,
.main-header .navbar .nav > li > a:hover {
    background: rgba(52, 152, 219, 0.1) !important;
    color: #3498db !important;
}

/* Active states */
.active > a {
    background: rgba(52, 152, 219, 0.1) !important;
    color: #3498db !important;
}

/* Search box in header */
.navbar-form input[type="text"] {
    background: #ffffff !important;
    border: 1px solid #e6eef7;
    color: #2c3e50 !important;
}

.navbar-form input[type="text"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
}

/* Tables */
.table-striped > tbody > tr:nth-of-type(odd) {
    background: rgba(255,255,255,0.5) !important;
}

.table-hover > tbody > tr:hover {
    background: rgba(52, 152, 219, 0.05) !important;
}

/* Visual Enhancements */
/* Smooth transitions */
.btn,
.nav > li > a,
.dropdown-menu > li > a,
.form-control,
.box,
.info-box,
.sidebar-menu > li > a {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Subtle hover effects */
.box:hover,
.info-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.12) !important;
}

/* Button improvements */
.btn-primary {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2),
                0 1px 2px rgba(52, 152, 219, 0.1) !important;
}

.btn-primary:hover {
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3),
                0 2px 4px rgba(52, 152, 219, 0.2) !important;
}

/* Input focus enhancement */
.form-control:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15) !important;
}

/* Card and box refinements */
.box, .panel {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 238, 247, 0.7) !important;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.08),
                0 1px 3px rgba(52, 152, 219, 0.05) !important;
}

/* Navbar and header refinements */
.main-header {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(230, 238, 247, 0.7) !important;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.08) !important;
}

/* Active state improvements */
.sidebar-menu > li.active > a {
    background: rgba(52, 152, 219, 0.1) !important;
    box-shadow: inset 0 0 8px rgba(52, 152, 219, 0.1) !important;
}

/* Table improvements */
.table-hover > tbody > tr:hover {
    transform: scale(1.002);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.08);
    z-index: 1;
}

/* Dropdown menu refinements */
.dropdown-menu {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 238, 247, 0.7) !important;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.12) !important;
    animation: dropdownFade 0.1s ease-out;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info box improvements */
.info-box {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 238, 247, 0.7) !important;
100%);
    animation: shimmer 1s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX
/* Cool Visual Effects */

/* Gradient border effect on hover */
.box:not(.box-solid):hover {
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(45deg, #3498db, #2ecc71) border-box !important;
    border: 1px solid transparent !important;
}

/* Smooth button glow effect */
.btn-primary:not(:disabled):not(.disabled):active {
    animation: buttonPulse 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

/* Cool link hover effect */
.nav > li > a:not(.btn):hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    animation: linkHover 0.3s forwards;
}

@keyframes linkHover {
    to {
        transform: scaleX(1);
    }
}

/* Subtle loading animation for panels */
.box, .panel {
    position: relative;
    overflow: hidden;
}

.box::before, .panel::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    animation: loadingBar 2s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.box.loading::before, .panel.loading::before {
    opacity: 1;
}

@keyframes loadingBar {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Cool focus effect for inputs */
.form-control:focus {
    background: 
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(45deg, #3498db, #2ecc71) border-box !important;
    border: 1px solid transparent !important;
}

/* Notification badge pulse */
.label-warning, .badge-warning {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Cool hover effect for info boxes */
.info-box {
    position: relative;
    overflow: hidden;
}

.info-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.info-box:hover::after {
    transform: translateX(50%);
}

/* Smooth scroll behavior */
.content-wrapper {
    scroll-behavior: smooth;
}

/* Cool active tab indicator */
.nav-tabs > li.active > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    animation: tabActive 0.3s ease-out forwards;
}

@keyframes tabActive {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Subtle card hover lift effect */
.card:hover {
    transform: translateY(-2px) scale(1.001);
}

/* Cool checkbox style */
.checkbox input[type="checkbox"]:checked + label::before {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    border-color: transparent;
    animation: checkmark 0.2s ease-in-out forwards;
}

@keyframes checkmark {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
(100%);
    }
}

/* Text selection color */
::selection {
    background: rgba(52, 152, 219, 0.2);
    color: #2c3e50;
}
