/* SIDEBAR */
.sidebar {
    width: var(--sidebar-width);
    /* background: linear-gradient(180deg, #1F2433 0%, #151a28 100%); */
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 20px 10px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: 0.25s ease;
}

.sidebar.closed {
    width: 0;
    padding: 0;
    overflow: hidden;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.logo img {
    width: 100%;
}

nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #343742;
    font-size: 20px;
}
.nav-item a{
    text-decoration: none;
    color: #fff;
}

/*.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}*/

/* DROPDOWN INSIDE MENU */
.sub-menu {
    display: none;
    flex-direction: column;
    margin-top: 5px;
}

.sub-menu.open {
    display: flex;
}

.sub-item {
    border-radius: 6px;
    margin: 4px 0;
}

.sub-item a {
    text-decoration: none;
    color: #ADADAD;
    display: block;
    padding: 8px;
}

.sub-item:hover {
    background: #161B21;
    color: #fff;
}

.sub-item:hover a {
    color: #fff;
}

.sub-item.active,.nav-item.active {
    background: #161B21;
}

.sub-item .system-uicons--arrow-right {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' d='m13.5 6.497l4 4.002l-4 4.001m-9-4h13' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.7;
}

.sub-item.active .system-uicons--arrow-right,
.sub-item:hover .system-uicons--arrow-right {
    opacity: 1;
}

.sub-item.active a {
    color: #fff;
}

/* Close Icon */
.open .icon-close-btn {
    border: navajowhite;
    background: #161b21;
    position: absolute;
    right: -20px;
    width: 42px;
    height: 42px;
    text-align: center;
    border-radius: 60px;
    line-height: normal;
}

.open .icon-close-btn span {
    display: block;
    text-align: center;
    margin: 0px auto;
}



/* CONTENT GRID */
.content {
    padding: 10px 0px;
    /*    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;*/
}

.card {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}



/* RESPONSIVE */
@media (max-width: 1024px) {
    .content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .content {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 50;
        transform: translateX(-110%);
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 0px 0px 20px 4px #000000a6;
        background: linear-gradient(180deg, #1F2433 0%, #151a28 100%);
    }

    .logo img {
        width: 170px;
    }

    .main {
        width: 100%;
    }

    .topbar h2 {
        font-size: 24px;
    }

    .mobileModelzoom_button.position_icon_left {
        right: inherit;
        left: 5px;
        bottom: 5px;
        width: 24px;
        height: 24px;
    }

    .mobileModelzoom_button.position_icon_left span {
        width: 18px;
        height: 18px;
    }
}

/* END */

