:root {
    --sidebar-color: #1e8f4d;
    --sidebar-dark: #0f5c36;
    --sidebar-accent: #f4b400;
    --sidebar-accent-dark: #d79c00;
}

.sidebar-shell {
    display: flex;
    height: 100%;
    width: 0;
    flex: 0 0 auto;
}

@media (min-width: 1024px) {
    .sidebar-shell {
        width: auto;
    }
}

.sidebar-panel {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, var(--sidebar-color), var(--sidebar-dark));
    color: #fff;
    transition: width 0.3s ease-in-out;
}

.sidebar-link {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    border-radius: 0;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background: var(--sidebar-accent);
    color: #fff;
}

.sidebar-link-active {
    background: var(--sidebar-accent-dark);
    color: #fff;
    border-left: 4px solid #fff;
    font-weight: 600;
}

.sidebar-link:hover svg,
.sidebar-link-active svg {
    color: #fff;
}

.sidebar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 700;
    background: #ef4444;
    border-radius: 9999px;
    flex-shrink: 0;
}

.sidebar-footer-link {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #fff;
    transition: background-color 0.2s ease;
}

.sidebar-footer-link:hover {
    background: var(--sidebar-accent);
    color: #1f2937;
}

.sidebar-nav {
    background: var(--sidebar-color);
    scrollbar-width: thin;
    scrollbar-color: #1f7a46 rgba(255, 255, 255, 0.08);
}

.sidebar-nav::-webkit-scrollbar {
    width: 8px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: #1f7a46;
    border-radius: 4px;
}
