.stc-sidebar {
    background-color: var(--color-primary);
    height: 100%;

}

.stc-sidebar__container {
    
    /* position: sticky; */
    /* top: 0; */
}

.stc-logo__section {
    background-color: var(--color-white);
    padding: 30px 15px;
    
}

.stc-logo__section img {
    width: 100%;
}

.stc-nav {

}

.stc-nav ul {
    padding-left: 0;

}



.stc-nav ul > li a {
    color: var(--color-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    transition: background 0.3s ease;
}

.stc-nav > ul >  li:last-of-type  {
    border-top: 1px solid var(--color-white);
}

.stc-nav > ul > li > a:hover,
.stc-nav > ul > li > a:active,
.stc-nav > ul > li > a:focus {
    font-weight: normal;
    background-color: var(--color-accent);
    color: var(--color-primary);
    outline: none;
}

.stc-nav > ul > li > a i {
    color: inherit;
    margin-right: 7px;
}

.stc-nav > ul > li.active > a {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.stc-nav li.has-children > a {
    position: relative;
}

.stc-nav li.has-children.active > a {
    
    background-color: transparent;
    color: var(--color-white) ;
}

.stc-nav li.has-children .flaticon-chevron {
    position: absolute;
    right: 0;
    transition: transform 0.4s ease;
}

.stc-nav li.has-children.active .flaticon-chevron {
    transform: rotate(90deg);
}


.stc-nav li.has-children ul {
    backdrop-filter: contrast(80%);
}

.stc-nav li.has-children ul li.active a {
background-color: var(--color-accent);
color: var(--color-primary);
transition: background 0.3s ease;
}

.stc-nav li.has-children ul li a:hover {
    font-weight: normal;
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.stc-logo__section .stc-actions  {
    display: none;
}

.stc-nav__item a > span {
    position: relative;
}

.stc-nav__item  a > span .stc-nav__notification {
    background-color: var(--color-red);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 14px;
    margin-left: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white) !important;

}

.stc-nav__item a.stc-new__feature::after {
    margin-left: 5px;
    padding-left: 5px;
    padding-right: 5px;
    content: "New!";
    border: 2px solid #FF0000;
    color: #FF0000;
    font-weight: bold;
    border-radius: 5px;
    font-size: 14px;
    transform: rotate(-4deg);
    display: inline-block;
    height: 20px;
    background-color: white;
}


/* Mobile */
@media screen and (max-width: 991px) {
    .stc-sidebar__container {
        z-index: 5;
    }

    .stc-sidebar {
        /* box-shadow: var(--heading-shadow); */
        /* box-shadow: 0 5px 10px #000; */
        
    }

    .stc-logo__section {
        position: relative;
        box-shadow: var(--heading-shadow);
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 2;
        column-gap: 20px;
    }

    .stc-logo__section .stc-logo {
       flex-shrink: 0;
       flex-basis: 70%;
       min-width: 0;
       margin-right: 20px;

    }

    .stc-logo__section .stc-actions {
        flex-basis: 30%;
        display: flex;
        align-items: center;
        justify-content: flex-end;

    }

    .stc-logo__section .stc-actions button {
        margin-top: 0;
        padding: 5px;
        border: 1px solid var(--color-accent);
        background-color: transparent;
        color: var(--color-primary);
        font-size: 18px;

    }

    .stc-logo__section .stc-actions button:hover,
    .stc-logo__section .stc-actions button:active,
    .stc-logo__section .stc-actions button:focus {
        background-color: var(--color-accent);
        outline: none;
    }

    .stc-logo__section .stc-actions button:last-of-type {
        margin-left: 10px;
    }

    .stc-logo__section img {
       max-width: 300px;
    }

    .stc-nav {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        max-width: 80%;
        height: calc(100% - var(--footer-height));
        background-color: var(--color-primary);
        padding-top: 100px;
        transition: all 0.5s cubic-bezier(1,0,0,1);
        overflow-y: scroll;
        z-index: -1;
    }

    .stc-nav.show {
        left: 0;
        z-index: 1;
    }

    .stc-nav:focus {
        outline: none;
    }
    
}

@media screen and (max-width: 480px) {
    .stc-sidebar__container  .stc-actions {
        min-width: 0;
    }

    .stc-logo__section .stc-logo {
        flex-shrink: 1;
    }
} 