.cms-sidebar {
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    background: #0D3D4D;
    color: #FFFFFF;
}

.cms-sidebar-brand {
    display: flex;
    min-height: 92px;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cms-sidebar-logo {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 22px;
}

.cms-sidebar-brand-text {
    min-width: 0;
}

.cms-sidebar-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.1;
}

.cms-sidebar-subtitle {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 10px;
    line-height: 1.3;
}

.cms-sidebar-nav {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 22px 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

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

.cms-sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.cms-sidebar-nav::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.22);
}

.cms-nav-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 12px;
    padding: 10px 13px;
    border-left: 3px solid transparent;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.18s ease;
}

.cms-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

.cms-nav-link.active {
    border-left-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
}

.cms-nav-icon {
    display: flex;
    width: 24px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
}

.cms-nav-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cms-nav-divider {
    height: 1px;
    margin: 14px 8px 10px;
    background: rgba(255, 255, 255, 0.12);
}

.cms-nav-section-title {
    padding: 0 13px 5px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.cms-nav-link-disabled {
    opacity: 0.5;
}

.cms-sidebar-footer {
    display: flex;
    min-height: 74px;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #0D3D4D;
}

.cms-sidebar-user-avatar {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
}

.cms-sidebar-user-info {
    min-width: 0;
}

.cms-sidebar-user-name {
    overflow: hidden;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cms-sidebar-user-role {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
}
