/* Prise de rendez-vous — interface centralisée */
.rdv-page {
  font-family: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  background: #f7f5f2;
  color: #1a1a1a;
}

.rdv-hero {
  padding: 7rem 0 3rem;
  background: linear-gradient(135deg, #1a1512 0%, #2d2620 45%, #1f3d3d 100%);
  color: #fff;
}

.rdv-hero h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.rdv-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.rdv-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #e8e4df;
  color: #5c5c5c;
}

.rdv-step-pill.is-active {
  background: var(--teal, #007889);
  color: #fff;
}

.rdv-step-pill.is-done {
  background: #d1fae5;
  color: #065f46;
}

.rdv-service-card {
  border: 2px solid #e8e4df;
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  background: #fff;
}

.rdv-service-card:hover {
  border-color: var(--teal, #007889);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.rdv-service-card.is-selected {
  border-color: #c41e1e;
  box-shadow: 0 0 0 3px rgba(196, 30, 30, 0.15);
}

.rdv-service-card .rdv-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 120, 137, 0.12);
  color: var(--teal, #007889);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.rdv-calendar-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  padding: 1.25rem;
}

.rdv-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.rdv-cal-nav button {
  border: none;
  background: #f0ebe4;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #1a1a1a;
}

.rdv-cal-nav button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.rdv-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 0.75rem;
}

.rdv-cal-dow {
  font-weight: 800;
  color: #888;
  padding: 0.35rem 0;
}

.rdv-cal-cell {
  aspect-ratio: 1;
  max-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ccc;
  cursor: default;
}

.rdv-cal-cell.is-available {
  color: #1a1a1a;
  cursor: pointer;
  background: #f7f5f2;
}

.rdv-cal-cell.is-available:hover {
  background: rgba(0, 120, 137, 0.15);
  color: var(--teal, #007889);
}

.rdv-cal-cell.is-selected {
  background: var(--teal, #007889);
  color: #fff;
}

.rdv-time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.rdv-time-btn {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 2px solid #e8e4df;
  background: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}

.rdv-time-btn:hover {
  border-color: var(--teal, #007889);
}

.rdv-time-btn.is-selected {
  border-color: #c41e1e;
  background: rgba(196, 30, 30, 0.08);
  color: #c41e1e;
}

.rdv-panel {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  padding: 1.75rem;
}

.rdv-section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.rdv-alert-inline {
  border-radius: 12px;
}

.btn-danger {
  background-color: #3d2a5c;
  border-color: #3d2a5c;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
  background-color: #322348;
  border-color: #322348;
}
