﻿#secondary-sidebar {
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 250px;
    width: 220px;
    background-color: #f4f6f9;
    border-right: 1px solid #dcdcdc;
    z-index: 1030;
    overflow-y: auto;
    transition: width 0.3s, top 0.1s, left 0s;
}

    #secondary-sidebar.collapsed {
        width: 50px;
        text-align: center;
    }

    #secondary-sidebar .nav-link {
        display: flex;
        align-items: center;
        padding: 4px 14px;
        color: #333;
        white-space: nowrap;
        font-size: 14px;
        transition: all 0.3s;
    }

        #secondary-sidebar .nav-link i {
            margin-right: 10px;
            font-size: 14px;
            padding-top: 4px;
            padding-bottom: 4px;
        }

    #secondary-sidebar.collapsed .nav-link span {
        display: none;
    }

    #secondary-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    #secondary-sidebar::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.2);
        border-radius: 3px;
    }

.content-wrapper {
    transition: padding-left 0.3s;
}

.main-header {
    z-index: 1040;
}

#secondary-sidebar .toggle-btn {
    width: 100%;
    background: #eee;
    border-bottom: solid 1px #ddd;
    text-align: left;
    padding: 6px 12px 6px 21px;
    cursor: pointer;
}
