/* Estilos globais da aplicação */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: scroll; /* Força a barra de rolagem a estar sempre visível */
}

main {
    flex: 1;
}

/* Estilos para o menu lateral */
.list-group-item.active {
    background-color: #0056b3; /* Tom de azul mais escuro e menos vibrante */
    border-color: #0056b3;
}

/* Ajustes para o DataTables */
.dataTables_wrapper .dataTables_filter input {
    margin-left: 0.5em;
}
.dataTables_wrapper .dataTables_length select {
    margin-right: 0.5em;
}

/* Estilos para o Pop-up do Mapa (OpenLayers) */
.ol-popup {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.85); /* Fundo branco com 85% de opacidade */
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #333;
    bottom: 12px;
    left: -50px;
    min-width: 200px;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: rgba(255, 255, 255, 0.85);
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #333;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
    color: #333;
}
.ol-popup-closer:after {
    content: "✖";
}