﻿.customer-sidebar {
    border-radius: 0 !important;
    height: 100%;
}

.customerapp-menu-container {
    display: flex;
    flex-direction: column;
    background-color: var(--menu-background-color)
}

.customer-menu-icon {
    position: relative;
    width: 56px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: all 220ms cubic-bezier(0.2, 0, 0, 1);
}

.menu-item:first-child {
    margin-top: 1rem;
}

.customer-menu-icon:hover:not(:has(.customer-menu-active)) {
    background-color: rgba(128, 128, 128, 0.08);
}

.customer-menu-icon:active:not(:has(.customer-menu-active)) {
    background-color: rgb(70, 61, 129, 0.1);
}

.customer-menu-icon .active-icon {
    color: white;
}

.customer-menu-icon > span {
    position: relative;
    z-index: 2;
}

/* Active background */
.customer-menu-active {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background-color: var(--core-color);
    transform: scaleX(0);
    transform-origin: center;
    animation: menuIndicatorIn 220ms cubic-bezier(0.2, 0, 0, 1) forwards;
}

@keyframes menuIndicatorIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.customer_todoshowHandelbox {
    display: flex;
}

.customer_todomobileshowbox {
    display: none;
}

/* Mobile */
@media screen and (max-width: 599px) {
    .customerapp-menu-container {
        flex-direction: row !important;
        align-items: center;
        justify-content: space-evenly;
        width: 100%;
    }

    .menu-item:first-child {
        margin-top: 0;
    }
    .customer-sidebar{
        height: auto;
    }
}

@media (max-width: 420px){

    .customer_todoshowHandelbox {
        display: none;
    }

    .customer_todomobileshowbox {
        display: block;
    }
}
