body {
    background: #eef2f3;
    font-family: Arial, sans-serif;
}

.box {
    width: 900px;
    margin: 40px auto;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

h2 {
    margin-top: 0;
}

.form-consulta label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"] {
    width: 95%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #aaa;
    font-size: 16px;
}

button {
    width: 100%;
    background: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    cursor: pointer;
}

button:hover {
    background: #989ba0ff;
}

.erro {
    color: red;
    margin-top: 10px;
}

/* Barra de pesquisa */
.search-wrapper {
    margin-top: 15px;
    margin-bottom: 10px;
}

.search-wrapper label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

/* Accordion */
.accordion-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 10px;
    background: #fafafa;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    border: none;
    background: #f1f1f1;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}

.accordion-header span.container-code {
    font-weight: bold;
    color: #333;
}

.accordion-header span.container-update {
    font-weight: normal;
    font-size: 12px;
    color: #666;
    margin: 0 12px;
    white-space: nowrap;
}

.accordion-header span.indicador {
    font-size: 18px;
    color: #818486ff;
}

.accordion-body {
    display: none;
    padding: 10px 15px 15px 15px;
    background: #fff;
}

.accordion-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.accordion-body th,
.accordion-body td {
    padding: 6px 8px;
    border: 1px solid #ddd;
    text-align: left;
}

.accordion-body th {
    background: #f5f5f5;
}

/* Cores de linha por classifier_code */
tr.evento-act {
    background-color: #d4edda; /* verde claro */
}

tr.evento-pln {
    background-color: #cce5ff; /* azul claro */
}

/* Legenda */
.legenda-status {
    font-size: 12px;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.legenda-caixa {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    margin-right: 4px;
    border: 1px solid #ccc;
}

.legenda-act {
    background-color: #d4edda;
}

.legenda-pln {
    background-color: #cce5ff;
}
