.ssg-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--ssg-sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, #111827 0%, #0b1120 100%);
    color: var(--ssg-white);
    z-index: 1030;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ssg-sidebar-brand {
    height: 76px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ssg-sidebar-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ssg-white);
    text-decoration: none;
}

.ssg-sidebar-brand-link:hover {
    color: var(--ssg-white);
}

.ssg-sidebar-logo {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
    flex: 0 0 46px;
}

.ssg-sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ssg-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.ssg-sidebar-nav {
    padding: 18px 14px 24px;
}

.ssg-sidebar-group + .ssg-sidebar-group {
    margin-top: 8px;
}

.ssg-sidebar-section-toggle {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.74);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.18s ease;
}

.ssg-sidebar-section-toggle:hover,
.ssg-sidebar-section-toggle:not(.collapsed) {
    color: var(--ssg-white);
    background: rgba(255, 255, 255, 0.09);
}

.ssg-sidebar-section-toggle i {
    font-size: 13px;
    transition: transform 0.18s ease;
}

.ssg-sidebar-section-toggle:not(.collapsed) i {
    transform: rotate(180deg);
}

.ssg-sidebar-section-items {
    padding: 8px 0 4px;
}

.ssg-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.18s ease;
}

.ssg-sidebar-link i {
    width: 20px;
    font-size: 17px;
    text-align: center;
}

.ssg-sidebar-link:hover,
.ssg-sidebar-link.active {
    color: var(--ssg-white);
    background: rgba(255, 255, 255, 0.08);
}

.ssg-sidebar-link.active {
    background: linear-gradient(90deg, var(--ssg-primary) 0%, var(--ssg-primary-dark) 100%);
    box-shadow: 0 12px 28px rgba(215, 25, 32, 0.28);
}

.ssg-topbar {
    min-height: var(--ssg-topbar-height);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.ssg-content {
    background: var(--ssg-bg);
}

.ssg-footer {
    margin-top: auto;
}

@media (max-width: 991.98px) {
    .ssg-sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .ssg-sidebar.show {
        transform: translateX(0);
    }
}
