:root {
    --lavender-light: #E6E6FA;
    --lavender-medium: #9370DB;
    --navy-dark: #000080;
    --navy-darker: #191970;
    --peach-light: #FFDAB9;
    --peach-medium: #FF7F50;
}

body {
    background-color: #f8f9fc;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-body {
    background: linear-gradient(135deg, var(--lavender-light) 0%, var(--navy-dark) 100%);
    height: 100vh;
}

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: var(--navy-darker);
    color: #fff;
    transition: all 0.3s;
}

.sidebar-header {
    background: var(--navy-dark);
}

.sidebar ul.components {
    padding: 20px 0;
}

.sidebar ul li a {
    padding: 10px 15px;
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar ul li a:hover {
    color: #fff;
    background: var(--navy-dark);
}

.sidebar ul li.active > a {
    color: #fff;
    background: var(--lavender-medium);
}

#content {
    width: calc(100% - 250px);
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

.navbar {
    padding: 15px 10px;
}

.card {
    border: none;
    border-radius: 10px;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

.border-left-primary {
    border-left: 4px solid var(--lavender-medium);
}

.border-left-success {
    border-left: 4px solid #1cc88a;
}

.border-left-info {
    border-left: 4px solid #36b9cc;
}

.border-left-warning {
    border-left: 4px solid var(--peach-medium);
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #5a5c69;
}

.chart-area {
    position: relative;
    height: 20rem;
}

.chart-bar {
    position: relative;
    height: 20rem;
}

.chart-pie {
    position: relative;
    height: 20rem;
}

@media (max-width: 768px) {
    #sidebar {
        width: 80px;
        text-align: center;
    }
    #sidebar .sidebar-header h5, 
    #sidebar .sidebar-footer small {
        display: none;
    }
    #sidebar ul li a {
        padding: 15px 5px;
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right: 0;
        display: block;
        font-size: 1.5em;
        margin-bottom: 5px;
    }
    #content {
        width: calc(100% - 80px);
    }
}