/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #d3d3de;
    color: #000000;
    flex-wrap: nowrap; /* Evita quebra de linha no desktop */
    width: 100%;
}

.logo {
    display: flex;
    justify-content: center; /* Centraliza o logo */
    align-items: center;
    flex-grow: 1; /* Permite que o logo ocupe espaço disponível */
}

.logo img {
    height: 40px;
}

.eventos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1; /* Permite que a lista de eventos ocupe o espaço disponível */
    margin-left: 10px;
    margin-right: 10px;
}

.eventos-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 200px; /* Limita a largura da lista de eventos */
}

.evento-icon {
    height: 20px;
    margin-right: 10px;
    position: absolute;
    left: 10px;
    pointer-events: none;
}

.eventos-wrapper select {
    width: 100%;
    padding: 5px 5px 5px 35px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    background-color: #fff;
    background-image: none;
}

.menu-usuario {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1; /* Permite que o menu ocupe o espaço disponível */
}

.usuario-icon {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
}

.usuario-nome {
    font-size: 16px;
    margin-right: 10px;
}

.menu-opcoes {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    width: 200px;
    z-index: 100;
}

.menu-opcoes li {
    list-style: none;
}

.menu-opcoes li a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.menu-opcoes li a img {
    height: 20px;
    margin-right: 10px;
}

.menu-opcoes li a:hover {
    background-color: #f0f0f0;
}

.menu {
    width: 100%;
    height: 70px; /* Altura fixa para o menu */
    border: none;
}

.conteudo {
    width: 100%;
    height: calc(100vh - 70px); /* Altura dinâmica para o conteúdo abaixo do menu */
    border: none;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .logo, .eventos, .menu-usuario {
        width: 100%; /* Cada item ocupa 100% da largura no celular */
        text-align: center;
        margin-bottom: 10px;
        justify-content: center;
    }

    .eventos {
        margin-left: 0;
        margin-right: 0;
    }

    .menu-usuario {
        justify-content: center;
    }

    .menu-opcoes {
        width: 100%;
        left: 0;
    }
}
