body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: #0d6efd;
    color: white;
    transition: all 0.3s;
    z-index: 1000;
    overflow-y: auto;
}
.sidebar-header {
    padding: 20px;
    background-color: rgba(0,0,0,0.1);
}
.sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 10px 20px;
}
.sidebar .nav-link:hover {
    color: white;
    background-color: rgba(255,255,255,0.1);
}
.sidebar .nav-link.active {
    background-color: rgba(255,255,255,0.2);
    color: white;
}
.main-content {
    margin-left: 250px;
    transition: all 0.3s;
}
.sidebar.hidden {
    margin-left: -250px;
}
.main-content.expanded {
    margin-left: 0;
}
@media (max-width: 991px) {
    .sidebar {
        margin-left: -250px;
    }
    .sidebar.show {
        margin-left: 0;
    }
    .main-content {
        margin-left: 0;
    }
}
.card {
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: none;
}
.card-header {
    background-color: transparent;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}
.btn-primary {
    background-color: #0d6efd;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
}
.btn-outline-primary {
    border-radius: 50px;
}
.table {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
}
.toast {
    border-radius: 50px;
}
/* Dark mode */
body.dark-mode {
    background-color: #1a1a1a;
    color: #f8f9fa;
}
body.dark-mode .card {
    background-color: #2d2d2d;
    color: #f8f9fa;
}
body.dark-mode .table {
    background-color: #2d2d2d;
    color: #f8f9fa;
}
body.dark-mode .bg-light {
    background-color: #2d2d2d !important;
}