:root {
    --sidebar-width: 260px;
    --primary: #0d6efd;
    --dark: #212529;
}

body {
    overflow-x: hidden;
    background: #f4f6f9;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

#sidebar-wrapper {
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    min-height: 100vh;
    transition: margin 0.25s ease-out;
}

#sidebar-wrapper .list-group-item {
    border: none;
    padding: 12px 20px;
    font-size: 0.95rem;
}

#sidebar-wrapper .list-group-item:hover,
#sidebar-wrapper .list-group-item.active {
    background-color: #0d6efd !important;
    color: white !important;
}

#page-content-wrapper {
    min-width: 0;
    width: 100%;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card-header {
    background: white;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.stat-card {
    border-left: 4px solid var(--primary);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-card.green { border-left-color: #198754; }
.stat-card.orange { border-left-color: #fd7e14; }
.stat-card.red { border-left-color: #dc3545; }
.stat-card.purple { border-left-color: #6f42c1; }

.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #6c757d;
}

.badge-status {
    font-size: 0.75rem;
    padding: 5px 10px;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
}

@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: calc(-1 * var(--sidebar-width));
    }
    #wrapper.toggled #sidebar-wrapper {
        margin-left: 0;
    }
}
