* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.conteudo {
    flex: 1;
    min-width: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 24px max(24px, calc((100% - 1100px) / 2));
    font-size: 15px;
}

.cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.cabecalho h1 {
    font-size: 20px;
    margin-bottom: 5px;
}

.cabecalho p {
    font-size: 13px;
    color: var(--text-muted);
}

.card-filtros {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 15px;
    padding: 16px;
    margin-bottom: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.campo label {
    font-size: 13px;
    font-weight: bold;
    color: var(--text-muted);
}

.campo select,
.campo input {
    height: 36px;
    min-width: 180px;
    padding: 0 10px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-dashed);
    border-radius: 7px;
    color: var(--text-dark);
    font-size: 13px;
}

.campo select:focus,
.campo input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(52, 120, 201, 0.12);
}

.conteudo button, .btn-secundario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 7px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.15s;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
}

.btn-principal {
    background-color: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
}

.btn-principal:hover {
    background-color: var(--primary-hover);
}

.btn-secundario {
    background-color: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-dashed);
}

.btn-secundario:hover {
    background-color: var(--hover-bg);
}

.card-tabela {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.titulo-tabela {
    padding: 15px;
    border-bottom: 1px solid var(--border-light);
}

.titulo-tabela h2 {
    font-size: 15px;
    margin-bottom: 3px;
}

.titulo-tabela p {
    color: var(--text-muted);
    font-size: 12px;
}

.tabela-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

thead {
    background-color: var(--bg-app);
}

th {
    padding: 10px 12px;
    color: var(--text-muted);
    font-weight: bold;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
}

tbody tr:hover {
    background-color: var(--input-bg);
}

tbody tr:last-child td {
    border-bottom: none;
}

th:first-child { width: 45%; }
th:nth-child(2) { width: 30%; }
th:nth-child(3) { width: 25%; }

.centralizado {
    text-align: center;
}

.mensagem-vazia {
    text-align: center;
    color: var(--text-subtle);
    padding: 25px;
}

.mensagem {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}