@import url('https://cdn-uicons.flaticon.com/2.3.0/uicons-regular-straight/css/uicons-regular-straight.css');

nav {
    display: flex;
    flex-direction: column;
    width: 20%;
    height: 100vh;
    /* Garante que o menu ocupe toda a altura da tela */
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    /* Adiciona rolagem vertical se necessário */
    -ms-overflow-style: none;
    /* Remove a rolagem no IE e Edge */
    scrollbar-width: thin;
    /* Define uma rolagem fina no Firefox */
    z-index: 9999;
}

/* Ocultar barras de rolagem para navegadores Webkit (Chrome, Safari) */
/* Barra de rolagem Webkit */
nav::-webkit-scrollbar {
    width: 12px;
}

/* Estilo do thumb da barra de rolagem */
nav::-webkit-scrollbar-thumb {
    background-color: #00ffff;
    /* Cor inicial */
    border-radius: 10px;
    border: 2px solid #000;
    transition: all 0.3s ease-in-out;
}

/* Efeito de glow mais forte ao passar o mouse */
nav::-webkit-scrollbar-thumb:hover {
    background-color: #00e5ff;
    box-shadow:
        0px 0px 20px 10px #00ffff,
        0px 0px 40px 20px #00e5ff,
        0px 0px 60px 30px #00ffff;
    border: 2px solid #00ffff;
}

/* Trilha da barra de rolagem */
nav::-webkit-scrollbar-track {
    background-color: #000000;
    /* Fundo preto */
    border-radius: 10px;
}

/* Estilo para navegadores Firefox */
nav {
    scrollbar-color: #31cfff #000000;
    scrollbar-width: thin;
}



.navbar {
    display: flex !important;
    flex-direction: column !important;
    width: 17% !important;
    min-width: min-content;
    height: 100vh !important;
    position: fixed;
    background-image: url(../img/darkblue3.jpg);
    background-color: #0b1429;
    overflow: visible !important;
    z-index: 2001;
}

.container-fluid {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
    padding-left: 10px;
    overflow-y: auto;
}

.navbar-nav {
    display: flex;
    width: 100%;
    flex-direction: column !important;
    align-items: left;
    text-align: center;
}

.navbar-collapse {
    z-index: 1040;
    /* Abaixo do dropdown, mas acima de outros conteúdos */
    position: relative;
}

.navbar>.container-fluid {
    align-items: normal
}

.menu-lateral-admin {
    z-index: 1000;
    position: relative;
}

.mostra {
    width: calc(20% + 2%);
    overflow: hidden;
    transition: width 0.8s ease-in-out;
    /* Adicione a mesma transição aqui */
}

.hidden {
    width: 0;
    overflow: hidden;
    transition: width 0.8s ease-in-out;
    /* Adicione a mesma transição aqui */
}

.leg {
    display: flex;
    justify-content: left;
    padding-left: 13px;
    font-weight: 700;
    color: #5b677f;
    text-transform: uppercase;
}


.menu-item {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100% !important;
    text-transform: uppercase;
    font-weight: 400;
    color: #5b677f;
    z-index: 1000;
    font-size: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 30px !important;
}


.menu-item:hover {
    color: white;
    position: relative;
    padding-bottom: 20px;
    transition: 1s ease-in-out;
}

.menu-item:focus,
.menu-item:active {
    color: rgb(75, 155, 247) !important;
}

.menu {
    background-color: rgba(255, 255, 255, 0.041);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.144);
}

.dropdown-menu {
    margin-left: 20px;
    z-index: 1050 !important;
    /* Prioridade máxima */
    position: absolute !important;
    /* Garante que ele se posicione fora do fluxo normal */
}


.dropdown-menu.meu {
    width: max-content;
    font-size: medium;
    text-transform: lowercase !important;
}

#content.expanded {
    margin-left: 6%;
    width: 97%;
    transition: all 0.5s ease;
}

#content.collapsed {
    margin-left: 10%;
    width: auto;
    transition: all 0.5s ease;
}




.dropdown-item {
    text-transform: capitalize;
    color: white;
    z-index: 1051;
    /* Um pouco acima do dropdown-menu */
}

/* .nav-item {
    color: white;
} */

.navbar-brand {
    font-weight: 800;
    text-transform: uppercase;
    padding-left: 15px;
    font-size: 30px;
    text-align: center;
    color: white;
}

.navbar-brand:hover {
    color: white;
}

.logout-item {
    color: rgb(177, 27, 27);
}

.logout-item:hover {
    color: orange;
}