/* ===== Fila de Espera ===== */
.fila-container {
  width: 100%;
  max-width: none;
  margin: 0;                  /* >>> sem espaço para encostar no topo <<< */
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 10px solid #ffffff;
  box-sizing: border-box;
}

.fila-titulo {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.fila-tabela {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.fila-tabela thead {
  background-color: #f7fbff;
}

.fila-tabela th,
.fila-tabela td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.fila-tabela th {
  font-weight: bold;
  color: #444;
    background-color: #f1f1f1
}

/* --- Linhas alternadas cinza/branco --- */
.fila-tabela tbody tr:nth-child(even) {
  background-color: #f9f9f9; /* cinza clarinho */
}
.fila-tabela tbody tr:nth-child(odd) {
  background-color: #ffffff; /* branco */
}

.fila-tabela tbody tr:hover {
  background-color: #f1f6fa; /* hover sutil */
}

@media (max-width: 768px) {
  .fila-tabela th, .fila-tabela td {
    padding: 8px;
    font-size: 0.9rem;
  }
  .fila-titulo {
    font-size: 1.5rem;
  }
}
.fila-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* centraliza o título */
  margin-bottom: 16px;
  height: 40px; /* altura da linha */
}

.busca-fila-espera {
  position: absolute;
  left: 0; /* barra na esquerda */
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 350px;
  outline: none;
  transition: border-color 0.2s;
}

.busca-fila-espera:focus {
  border-color: #888;
}

.fila-header h2 {
  margin: 0;
  font-size: 1.5rem;
  text-align: center;
}

html[data-bs-theme="dark"] .fila-container {
  background: #232326 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  border: 10px solid #232326 !important;
}

html[data-bs-theme="dark"] .fila-titulo {
  color: #e0e0e0;
  border-bottom: 2px solid #444;
}

html[data-bs-theme="dark"] .fila-tabela {
  color: #e0e0e0;
  background: #232326;
}

html[data-bs-theme="dark"] .fila-tabela th,
html[data-bs-theme="dark"] .fila-tabela td {
  border-bottom: 1px solid #444;
  color: #e0e0e0;
}

html[data-bs-theme="dark"] .fila-tabela th {
  background-color: #2c2c31;
}

html[data-bs-theme="dark"] .fila-tabela thead {
  background-color: #232326;
}

html[data-bs-theme="dark"] .fila-tabela tbody tr:nth-child(even) {
  background-color: #28282c;
}
html[data-bs-theme="dark"] .fila-tabela tbody tr:nth-child(odd) {
  background-color: #232326;
}

html[data-bs-theme="dark"] .fila-tabela tbody tr:hover {
  background-color: #31313a;
}

html[data-bs-theme="dark"] .busca-fila-espera {
  background: #232326;
  color: #e0e0e0;
  border: 1px solid #444;
}

html[data-bs-theme="dark"] .busca-fila-espera:focus {
  border-color: #888;
}