body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.sidebar .nav-link {
    padding: 0.6rem 1rem;
    border-radius: 0.375rem;
    margin: 0.1rem 0;
    transition: background-color 0.15s ease;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    font-weight: 500;
}

.sidebar .nav-link i {
    width: 20px;
}

.main-content {
    margin-left: 260px;
    min-height: 100vh;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: none;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    vertical-align: middle;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
}

.badge {
    font-weight: 500;
}

.pagination {
    margin-bottom: 0;
}

.alert {
    border: none;
}

.form-label {
    font-weight: 500;
}

.dropdown-menu {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
}

.min-vh-100 {
    min-height: 100vh;
}

dl.row dt {
    font-weight: 500;
    color: #6c757d;
}

dl.row dd {
    margin-bottom: 0.75rem;
}

@media (max-width: 991.98px) {
    .sidebar {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

.offcanvas {
    width: 280px !important;
}

.offcanvas .nav-link {
    padding: 0.6rem 1rem;
    border-radius: 0.375rem;
    margin: 0.1rem 0;
}

.offcanvas .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
