
:root {
  --horaire-accent: #f5b66b;
  --horaire-surface: rgba(255, 255, 255, 0.05);
  --horaire-surface-strong: rgba(10, 10, 10, 0.72);
  --horaire-border: rgba(255, 255, 255, 0.12);
  --horaire-text: #f4e9dc;
  --horaire-muted: rgba(244, 233, 220, 0.78);
  --horaire-green: #79e2a4;
  --horaire-green-soft: rgba(121, 226, 164, 0.16);
  --horaire-red: #ff5f56;
  --horaire-red-soft: rgba(255, 95, 86, 0.22);
  --horaire-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.horaire-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 500px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--horaire-text);
  margin-top: 14px;
}

.horaire-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border: 1px solid var(--horaire-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(12px);
  box-shadow: var(--horaire-shadow);
}

.jour {
  font-weight: 700;
  flex: 0 0 100px;
  text-transform: capitalize;
}

.jour-text {
  display: inline-block;
  font-family: "Playfair Display", "Inter", serif;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--horaire-accent);
}

.horaire-item.is-today {
  border-color: rgba(121, 226, 164, 0.3);
  background:
    radial-gradient(circle at top left, rgba(121, 226, 164, 0.15), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(121, 226, 164, 0.08) inset;
}

.horaire-item.is-other-day {
  border-color: rgba(255, 255, 255, 0.1);
}

.horaires {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  line-height: 1.25;
  color: var(--horaire-text);
}

.horaire-text,
.horaire-plage,
.horaire-status {
  display: inline;
}

.horaire-ranges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.horaire-plage,
.horaire-text {
  color: var(--horaire-muted);
  font-weight: 500;
  font-size: 13px;
}

.horaire-plage {
  display: block;
}

.etat {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  border: 1px solid transparent;
}

.etat.open {
  color: var(--horaire-green);
  background: var(--horaire-green-soft);
  border-color: rgba(121, 226, 164, 0.24);
}

.etat.closed,
.no-data {
  color: var(--horaire-red);
  background: var(--horaire-red-soft);
  border-color: rgba(255, 95, 86, 0.42);
}

.horaire-status.closed,
.horaire-text.closed,
.horaire-text.no-data {
  color: var(--horaire-red);
}

.horaire-item.is-today .jour-text {
  color: var(--horaire-green);
}

.horaire-item.is-today .horaire-text,
.horaire-item.is-today .horaire-plage {
  color: #dff7e8;
}

.horaire-item.is-other-day .jour-text {
  color: #f3c79a;
}

.horaire-item.is-other-day .horaire-text,
.horaire-item.is-other-day .horaire-plage {
  color: var(--horaire-muted);
}

@media (max-width: 480px) {
  .horaire-item {
    gap: 10px;
    padding: 8px 12px;
  }

  .jour {
    flex-basis: 86px;
  }

  .jour-text {
    font-size: 13px;
  }

  .horaires {
    font-size: 12px;
  }
}
