/* ARQUIVO: tabela_estilo.css */
/* Versão: Vermelha | Fonte: 18px | Centralizado + Linha Vertical */

.tabela-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  
  overflow-x: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
}

.tabela-precos {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  min-width: 400px;
  font-size: 18px; 
}

.tabela-precos thead tr {
  background-color: #c00000 !important;
  color: #ffffff;
  /* MUDANÇA: Centralizei o cabeçalho também */
  text-align: center;
  font-weight: bold;
}

.tabela-precos th, 
.tabela-precos td {
  padding: 15px 20px;
  border-bottom: 1px solid #dddddd;
  
  /* MUDANÇA 1: Alinhamento Central */
  text-align: center; 
  
  /* MUDANÇA 2: Linha Vertical separando as colunas */
  border-right: 1px solid #dddddd;
}

/* Remove a linha vertical da última coluna (para não fechar a caixa do lado direito) */
.tabela-precos th:last-child,
.tabela-precos td:last-child {
  border-right: none;
}

/* Estilos específicos da coluna de Preço */
.tabela-precos td:nth-child(2) {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  width: 180px;
  /* Removi o 'text-align: right' que tinha aqui antes */
}

/* Zebrado */
.tabela-precos tbody tr:nth-of-type(even) {
  background-color: #fff0f0; 
}

/* Hover */
.tabela-precos tbody tr:hover {
  background-color: #ffe6e6;
  cursor: default;
}

/* Borda inferior final */
.tabela-precos tbody tr:last-of-type {
  border-bottom: 2px solid #c00000;
}
