/* Estilos para o frontend */
.hf-horarios-funcionamento {
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif;
}

.hf-titulo {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

/* Estilo de tabela */
.hf-tabela-horarios {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  overflow: hidden;
}

.hf-tabela-horarios th,
.hf-tabela-horarios td {
  padding: 10px 15px;
  text-align: left;
  border-bottom: 1px solid #e2e2e2;
}

.hf-tabela-horarios th {
  background-color: #f9f9f9;
  font-weight: 600;
  color: #333;
}

.hf-tabela-horarios tr:last-child td {
  border-bottom: none;
}

.hf-tabela-horarios tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Estilo de lista */
.hf-lista-horarios {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  overflow: hidden;
}

.hf-item-horario {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  border-bottom: 1px solid #e2e2e2;
}

.hf-item-horario:last-child {
  border-bottom: none;
}

.hf-item-horario:nth-child(even) {
  background-color: #f9f9f9;
}

.hf-dia {
  font-weight: 600;
  color: #333;
}

.hf-horario {
  color: #555;
}

.hf-fechado {
  color: #dc3545;
  font-style: italic;
}

.hf-periodo {
  color: #28a745;
}

/* Status atual */
.hf-horario-atual {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 4px;
  background-color: #f9f9f9;
  border: 1px solid #e2e2e2;
}

.hf-status {
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 12px;
}

.hf-aberto {
  background-color: #28a745;
  color: #fff;
}

.hf-fechado {
  background-color: #dc3545;
  color: #fff;
}

.hf-horario-info {
  color: #555;
}

.hf-mensagem {
  color: #555;
  font-style: italic;
}

/* Responsividade */
@media screen and (max-width: 600px) {
  .hf-item-horario {
    flex-direction: column;
    gap: 5px;
  }

  .hf-tabela-horarios th,
  .hf-tabela-horarios td {
    padding: 8px 10px;
  }
}
