body {
    background-color: #f8f9fa;
    font-family: 'Sarabun', sans-serif;
}

.sidebar {
    background-color: #343a40;
    color: white;
    height: 100vh;
    position: fixed;
    padding-top: 20px;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: all 0.3s;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar .nav-link i {
    margin-right: 10px;
}

.main-content {
    margin-left: 320px;
    padding: 20px;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #6a11cb;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: #6c757d;
}

.progress {
    height: 20px;
    border-radius: 10px;
}

.chart-container {
    position: relative;
    height: 300px;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .main-content {
        margin-left: 0;
    }
}