/* Sidebar styling */
.sidebar {
    min-width: 260px;
    max-width: 260px;
    background: #ffffff;
    transition: all 0.3s;
    border-right: 1px solid #dee2e6;
}

.sidebar-content {
    height: 100vh;
    overflow-y: auto;
    padding: 1rem;
}

.sidebar-brand {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
    text-decoration: none;
}

.sidebar .card {
    border: none;
    background: transparent;
}

.sidebar .card-body {
    padding: 0;
}

.sidebar .list-group {
    border: none;
}

.sidebar .list-group-item {
    border: none;
    border-radius: 8px !important;
    margin-bottom: 4px;
    transition: all 0.2s ease;
    padding: 0.75rem 1rem;
    background-color: transparent;
    color: #495057;
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
}

.sidebar .list-group-item:hover:not(.active) {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #495057;
}

.sidebar .list-group-item.active {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3 !important;
    color: #1976d2;
    font-weight: 500;
}

/* Apply settings page card style globally */
.tab-content .card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Apply clean list-group-item style globally */
.list-group-item {
    border: none;
    border-radius: 8px !important;
    margin-bottom: 4px;
    transition: background-color 0.2s ease;
}

.list-group-item.active {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3 !important;
    color: #1976d2;
    font-weight: 500;
}

.list-group-item:hover:not(.active) {
    background-color: #f8f9fa;
}

/* Increased spacing after icons */
.sidebar .list-group-item i,
.sidebar .list-group-item svg {
    width: 20px;
    margin-right: 24px;
    color: #6c757d;
}

.sidebar .list-group-item.active i,
.sidebar .list-group-item.active svg {
    color: #1976d2;
}

/* Admin specific styles - using red theme */
.admin .sidebar .list-group-item.active {
    background-color: #ffebee;
    border-left: 4px solid #dc3545 !important;
    color: #c62828;
}

.admin .sidebar .list-group-item.active i,
.admin .sidebar .list-group-item.active svg {
    color: #c62828;
}