.sidebar {
    width: var(--sidebar-width);
    background-color: #fff;
    border-right: 1px solid var(--color-gray-drark);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    height: 100dvh;
    z-index: 1045;
    transition: transform 0.3s ease-in-out;
    top: 0;
    left: 0;

    @media (max-width: 768px) {
        transform: translateX(-100%);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);

        &.show {
            transform: translateX(0);
        }
    }

    .header {
        padding: 16px 16px 32px 32px;

        .logo {
            width: 71px;
            height: 76px;
            margin-bottom: 0.5rem;
        }
    }

    .nav {
        overflow-y: auto;
        padding: 0 16px;

        .item {
            display: flex;
            align-items: center;
            padding: 16px 8px 16px 16px;
            color: var(--color-gray);
            text-decoration: none;
            border-radius: 8px;
            margin-bottom: 0.5rem;
            transition: all 0.2s;
            width: 100%;
            font-weight: 400;

            &:hover {
                background-color: rgba(var(--bs-primary-rgb), 0.05);
                color: var(--bs-primary);
            }

            &.active {
                background-color: var(--bs-primary);
                color: #fff;

                i {
                    color: #fff;
                }
            }

            @media (max-width: 768px) {
                margin-bottom: 0.2rem;
                padding: 0.6rem 1rem;
            }
        }

        i {
            margin-right: 0.75rem;
            font-size: 1.25rem;
        }
    }

    .btn {
        &.show {
            background-color: transparent;
            border-color: transparent;
        }

        &:hover {
            background-color: transparent;
            border-color: transparent;
        }
    }



    .footer {
        padding: 1.5rem;
        margin-top: auto;
        width: 100%;
        border-top: 1px solid var(--border-color);

        .user-profile {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: var(--color-black);
            font-size: 16px;
            font-weight: 500;
        }
    }
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;

    &.show {
        display: block;
        opacity: 1;
    }
}

.company-name {
    font-weight: 500;
    font-size: 16px;
}