header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: white;
}

header.shrink {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.principalHeade{
    position: absolute;
}

.usuario-logado {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.linha-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.linha-info i {
    color: #333;
    min-width: 18px;
    text-align: center;
}

.headerLogo{
    min-width: 35%;
    display: flex;
    padding: 10px;
}

.logo {
    height: 200px;
    transition: all 0.3s ease;
}

.shrink .logo {
    height: 60px;
}

.shrink .titulo-shadow {
    font-size: 24px;
    padding: 10px;
    margin-top: 5px
}

.titulo-shadow {
    color: #1a1a1a;
    /* font-size: 24px; */
    text-shadow: 1px 1px 0 #fff, 1px 1px 4px rgba(0,0,0,0.5);
    font-weight: 500;
    font-family: 'Arial', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px;
}

.login-nav {
    position: absolute; 
    top: 10px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.login-link {
    color: #000;
    padding: 10px;
}

.login-link:hover .login-icon {
    fill: #a3cefc;
    transition: fill 0.2s ease;
}

.logout-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    border: none;
    padding: 10px;
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.logout-button svg {
    color: #000;
}

.logout-button:hover {
    background-color: #dc2626; /* vermelho (tailwind red-600) */
    color: white;
}

.logout-button:hover svg path {
    stroke: white;
}

.menu-divider {
    margin: 16px 0;
    border: none;
    border-top: 1px solid #e5e7eb; /* cinza claro */
}

/* Menu buttom */
#menuButtonE {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    background-color: #2563eb; /* Azul semelhante ao blue-600 do Tailwind */
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease;
}

#menuButtonE:hover {
    background-color: #1d4ed8; /* Azul mais escuro */
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px; /* escondido */
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar h2{
    padding-left: 20px;
}

/* Botão de fechar */
.sidebar .close-btnE {
    position: absolute;
    top: 12px;
    text-align: left;
    background: transparent;
    border: none;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    transition: color 0.2s ease;
}

.sidebar .close-btnE:hover {
    color: red;
}

/* Accordion */
.accordion-btn {
    background-color: #f3f4f6;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.accordion-btn:hover {
    background-color: #e5e7eb;
}

.accordion-content {
    display: none;
    flex-direction: column;
    margin-top: 5px;
    padding-left: 15px;
}

.accordion-content i {
    display: flex;
    margin: 4px 0;
}

.accordion-content a {
    display: flex;
    color: #2563eb;
    text-decoration: none;
    margin: 4px 0;
}

.accordion-content a:hover {
    text-decoration: underline;
}

.icon-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-item {
    display: grid;
    grid-template-columns: 28px auto;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.menu-item i {
    color: #000;
    font-size: 20px;
    justify-self: center;
}

.menu-item a {
    color: #2563eb;
    text-decoration: none;
}

.menu-item a:hover {
    text-decoration: underline;
}