@import url("../input.css");
/* SIDEBAR */
.sidebar {
    width: 230px;
    background: var(--cor-azul-fundo);
    color: var(--cor-branco-primary);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-weight: 700;
    font-size: 18px;
}

.sidebar-nav { padding: 12px 0; flex: 1; }

.nav-section-title {
    padding: 8px 20px;
    font-size: 11px;
    text-transform: uppercase;
    opacity: .8;
}

.nav-item {
    padding: 10px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.nav-item:hover { background: rgba(255,255,255,0.1); }

.nav-item.active {
    background: var(--cor-branco-primary);
    color: var(--cor-verde-logo);
}

.nav-item.no-link {
    cursor: default;
    opacity: .85;
}

.sidebar a,
.sidebar a:visited,
.sidebar a:active {
    color: inherit !important;
    text-decoration: none !important;
}

.sidebar-footer {
    padding: 10px 20px;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* SUBMENU */
.submenu {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.04);
    transition: max-height .35s ease-in-out;
    border-left: 2px solid rgba(255,255,255,0.15);
}

.submenu-item {
    padding: 10px 45px;
    font-size: 14px;
    color: var(--cor-cinza-background);
    cursor: pointer;
    letter-spacing: .3px;
}

.submenu-item:hover {
    background: rgba(255,255,255,0.12);
    padding-left: 49px;
}

.submenu-item.active {
    background: var(--cor-branco-primary);
    color: var(--cor-verde-logo);
    font-weight: 600;
}

.nav-item .arrow {
    font-size: 12px;
    opacity: .7;
    transition: transform .3s ease;
}

.nav-item.open .arrow {
    transform: rotate(90deg);
}

.nav-item.open + .submenu {
    max-height: 500px;
}
