/* Área acima da tabela (pesquisa e botões) */
.acoes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.pesquisa {
    flex: 1;
    min-width: 220px;
    margin: 0;
}

.pesquisa input {
    width: 100%;
    height: 42px;
    padding: 0 15px;
    border: 1px solid #9aa9bd;
    border-radius: 4px;
    font-size: 14px;
}

.botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-vermelho {
    width: 155px;
    height: 42px;
    border: none;
    border-radius: 4px;
    background-color: #d43838;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.btn-cinza {
    width: 210px;
    height: 42px;
    border: none;
    border-radius: 4px;
    background-color: #4b5968;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

/* Filtro de status */
.filtros {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
}

.filtro {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filtro > label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #475569;
}

.filtro select {
    height: 42px;
    min-width: 170px;
    padding: 0 10px;
    border: 1px solid #9aa9bd;
    border-radius: 4px;
    font-size: 14px;
    color: #475569;
    background-color: #ffffff;
}

/* Mensagem de lista vazia */
#mensagem {
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #dddddd;
    background-color: #f9fafb;
    color: #475569;
}

/* Tabela */
.tabela-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #aaaaaa;
}

th {
    padding: 15px;
    font-size: 1.1rem;
    text-align: center;
    color: #4b5563;
    border-right: 1px solid #999999;
}

td {
    padding: 12px;
    text-align: center;
    color: #222222;
    background-color: #e5e5e5;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    vertical-align: middle;
}

th:last-child,
td:last-child {
    border-right: none;
}

/* Preço original riscado */
.preco-original {
    color: #64748b;
    text-decoration: line-through;
    white-space: nowrap;
}

.preco-promocional {
    color: #15803d;
    font-weight: 700;
    white-space: nowrap;
}

.celula-lote {
    white-space: nowrap;
}

.detalhe-celula {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

/* Selo do status */
.selo {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.selo-ativa {
    background-color: #15803d;
}

.selo-agendada {
    background-color: #b45309;
}

.selo-encerrada {
    background-color: #64748b;
}

.selo-cancelada {
    background-color: #b91c1c;
}

/* Botões de ação na linha */
.btn-editar {
    background-color: #586ac4;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 2px;
}

.btn-excluir {
    background-color: #f2383d;
    color: white;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 2px;
}

.coluna-acao {
    width: 70px;
}
