:root {
    --primary-color: #4361ee;
    --secondary-color: #f8f9fa;
    --text-dark: #2b2d42;
    --text-muted: #8d99ae;
    --bg-light: #f1f5f9;
    --sidebar-width: 280px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

#wrapper {
    overflow-x: hidden;
}

#sidebar-wrapper {
    min-height: 100vh;
    width: var(--sidebar-width);
    margin-left: 0;
    background: white;
    transition: margin .25s ease-out;
    z-index: 1000;
    flex-shrink: 0;
}

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

#wrapper.toggled #sidebar-wrapper {
    margin-left: -var(--sidebar-width);
}

@media (min-width: 768px) {
    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }
}

.sidebar-heading {
    border-bottom: 1px solid #f0f0f0;
}

.list-group-item {
    border: none;
    padding: 0.8rem 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.list-group-item.active {
    background-color: rgba(67, 97, 238, 0.1) !important;
    color: var(--primary-color) !important;
}

/* Toggle Menu */
#menu-toggle {
    cursor: pointer;
}

/* Dashboard Cards */
.rounded-4 {
    border-radius: 1rem !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05) !important;
}

/* Table Styling */
.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: none;
}

.table tbody tr {
    transition: background-color 0.2s;
}

.table tbody tr:hover {
    background-color: #fafbfc;
}

.progress {
    height: 8px;
    border-radius: 5px;
}

/* Status Badges */
.badge-soft-success {
    background-color: #e6ffed;
    color: #28a745;
}

.badge-soft-warning {
    background-color: #fff8e6;
    color: #ffc107;
}

.badge-soft-danger {
    background-color: #ffe6e6;
    color: #dc3545;
}

.status-dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.group-item {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.group-item:hover {
    background-color: var(--bg-light);
}

.group-item.active {
    z-index: 2;
}

/* Premium Utilities */
.bg-soft-primary { background-color: #eef2ff !important; color: #4361ee !important; }
.bg-soft-success { background-color: #ecfdf5 !important; color: #10b981 !important; }
.bg-soft-warning { background-color: #fffbeb !important; color: #f59e0b !important; }
.bg-soft-danger { background-color: #fef2f2 !important; color: #ef4444 !important; }
.bg-soft-info { background-color: #f0f9ff !important; color: #0ea5e9 !important; }
.alert-soft-warning { background-color: #fffbeb; color: #92400e; border: 1px solid #fef3c7; }

.text-soft-primary { color: #4361ee !important; }
.text-soft-success { color: #10b981 !important; }

.extra-small { font-size: 0.75rem; }
.letter-spacing-1 { letter-spacing: 0.05em; }
.truncate-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.font-inter { font-family: 'Inter', sans-serif; }

.btn-soft-primary { background-color: #eef2ff; color: #4361ee; border: none; transition: all 0.2s; }
.btn-soft-primary:hover { background-color: #4361ee; color: white; }
.btn-soft-success { background-color: #ecfdf5; color: #10b981; border: none; transition: all 0.2s; }
.btn-soft-success:hover { background-color: #10b981; color: white; }

/* Timeline Advanced */
.timeline-advanced .col { position: relative; padding: 10px 5px; }
.timeline-advanced .col::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 10px;
    background: #e2e8f0;
}