/* Frontend styling - erft website styling over */
.otm-openingstijden {
  max-width: 100%;
  margin: 2rem 0;
  /* Verwijderd font-family zodat website font wordt overgenomen */
}

.otm-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.otm-table thead {
  background: #f8f9fa;
}

.otm-table th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a1a1a;
  border-bottom: 2px solid #e5e7eb;
}

.otm-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

.otm-table tbody tr:nth-child(odd) {
  background: #f0f9ff;
}

.otm-table tbody tr:nth-child(even) {
  background: white;
}

.otm-table tbody tr:last-child {
  border-bottom: none;
}

/* Volledige rij krijgt achtergrondkleur voor de huidige dag */
.otm-table tbody tr.otm-current-day {
  background-color: #e8cdd5 !important;
}

.otm-table td {
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
}

/* Achtergrondkleur verwijderd van dag kolom, alleen bij huidige dag wordt hele rij gekleurd */
.otm-table .otm-day {
  font-weight: 500;
  color: #374151;
}

.otm-table .otm-hours {
  color: #1f2937;
  /* Verwijderd font-family zodat normale font wordt gebruikt */
  letter-spacing: 0.5px;
}

/* Styling voor bijzondere dagen in frontend */
.otm-special {
  font-weight: 600;
  color: #dc2626;
}

/* Label styling verwijderd omdat labels niet meer worden getoond */

/* Styling voor vandaag openingstijden shortcode */
/* Subtieler ontwerp met gekleurde bolletjes */
.otm-vandaag-open,
.otm-vandaag-gesloten {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #1a1a1a;
  margin: 0.5rem 0;
  /* achtergrondkleur verwijderd voor transparante achtergrond */
}

.otm-vandaag-open::before,
.otm-vandaag-gesloten::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.otm-vandaag-open::before {
  background-color: #10b981;
}

.otm-vandaag-gesloten::before {
  background-color: #ef4444;
}

/* Responsive design */
@media (max-width: 768px) {
  .otm-table {
    font-size: 0.95rem;
  }

  .otm-table th,
  .otm-table td {
    padding: 1rem;
  }

  .otm-table th {
    font-size: 1rem;
  }

  .otm-table td {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .otm-table th:last-child,
  .otm-table td:last-child {
    display: none;
  }

  .otm-table th,
  .otm-table td {
    padding: 0.75rem;
  }
}

/* Styling voor bijzondere dagen overzicht shortcode */
.otm-bijzondere-dagen {
  margin: 2rem 0;
}

.otm-bijzondere-dagen h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.otm-bijzondere-lijst {
  list-style: none;
  padding: 0;
  margin: 0;
}

.otm-bijzonder-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: wrap;
}

.otm-bijzonder-item:last-child {
  border-bottom: none;
}

.otm-bijzonder-datum {
  font-weight: 500;
  color: #374151;
  min-width: 180px;
}

.otm-bijzonder-label {
  font-style: italic;
  color: #6b7280;
  font-size: 0.95rem;
}

.otm-bijzonder-tijd {
  margin-left: auto;
  font-weight: 500;
  color: #1f2937;
}

.otm-bijzonder-gesloten {
  color: #ef4444;
  font-weight: 600;
}

@media (max-width: 640px) {
  .otm-bijzonder-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .otm-bijzonder-tijd {
    margin-left: 0;
  }

  .otm-bijzonder-datum {
    min-width: auto;
  }
}
