#reserve-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

#reserve-modal.is-open {
  display: flex;
}

#reserve-modal .reserve-card {
  width: min(100%, 24rem);
  background: #141414;
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  font-family: system-ui, -apple-system, sans-serif;
}

#reserve-modal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

#reserve-modal p {
  margin: 0 0 1.25rem;
  color: #b3b3b3;
  font-size: 0.95rem;
  line-height: 1.5;
}

#reserve-modal .calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

#reserve-modal .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  text-align: center;
  font-size: 0.8rem;
}

#reserve-modal .calendar-grid .weekday {
  color: #888;
  font-weight: 600;
  padding-bottom: 0.25rem;
}

#reserve-modal .calendar-grid .day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: #ddd;
}

#reserve-modal .calendar-grid .day.muted {
  color: #555;
}

#reserve-modal .calendar-grid .day.highlight {
  background: #c41e3a;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.35);
}

#reserve-modal .calendar-note {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(196, 30, 58, 0.12);
  color: #f3c6cf;
  font-size: 0.85rem;
  line-height: 1.4;
}

#reserve-modal .close-btn {
  margin-top: 1.25rem;
  width: 100%;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: #c41e3a;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

#reserve-modal .close-btn:hover {
  filter: brightness(1.08);
}
