@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

.dp-wrap *, .dp-wrap *::before, .dp-wrap *::after { box-sizing: border-box; }

.dp-wrap {
  font-family: 'Poppins', sans-serif;
  max-width: 420px;
  margin: 0 auto;
}

.dp-box {
  background: transparent;
  border-radius: 20px 20px 0 0;
  padding: 18px 18px 26px;
}

.dp-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.dp-step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  flex-shrink: 0;
}
.dp-step-dot.active { background: #fff; color: #FF8C00; }
.dp-step-dot.done   { background: rgba(255,255,255,0.65); color: #FF8C00; }

.dp-step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.25);
  max-width: 60px;
  transition: background .25s;
}
.dp-step-line.done { background: rgba(255,255,255,0.65); }

.dp-step-label {
  text-align: center;
  color: rgba(255,255,255,0.88);
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.dp-step-panel { display: none; animation: dpFade .28s ease; }
.dp-step-panel.active { display: block; }

@keyframes dpFade {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dp-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.dp-cal-nav button {
  background: rgba(255,255,255,0.22);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: background .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.dp-cal-nav button:hover { background: rgba(255,255,255,0.42); }
.dp-cal-nav span { color: #fff; font-weight: 600; font-size: 13px; }

.dp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.dp-cal-header {
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 9px;
  font-weight: 600;
  padding: 2px 0 4px;
  text-transform: uppercase;
}

.dp-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: background .15s, transform .15s;
  background: rgba(255,255,255,0.15);
  user-select: none;
}
.dp-cal-day:hover:not(.dp-off):not(.dp-past):not(.dp-empty) {
  background: rgba(255,255,255,0.38);
  transform: scale(1.08);
}
.dp-cal-day.dp-off,
.dp-cal-day.dp-past {
  background: rgba(0,0,0,0.1);
  color: rgba(255,255,255,0.28);
  cursor: not-allowed;
}
.dp-cal-day.dp-empty   { background: transparent; cursor: default; }
.dp-cal-day.dp-today   { outline: 2px solid rgba(255,255,255,0.55); outline-offset: -2px; }
.dp-cal-day.dp-selected {
  background: #fff !important;
  color: #FF8C00 !important;
  font-weight: 700;
  transform: scale(1.1);
}

.dp-next-btn {
  width: 100%;
  margin-top: 13px;
  padding: 9px;
  background: #6a0dad;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, transform .15s;
  display: none;
}
.dp-next-btn:hover { background: #5a0b93; transform: translateY(-1px); }
.dp-next-btn.visible { display: block; }

.dp-summary {
  background: rgba(255,255,255,0.18);
  border-radius: 7px;
  padding: 7px 11px;
  margin-bottom: 11px;
  color: #fff;
  font-size: 11px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.dp-summary span { font-weight: 600; }

.dp-slots-title {
  color: rgba(255,255,255,0.82);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 12px 0 7px;
}

.dp-slots-wrap { display: flex; flex-wrap: wrap; gap: 6px; }

.dp-slot {
  padding: 5px 11px;
  border-radius: 20px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.28);
  font-family: 'Poppins', sans-serif;
  transition: all .15s;
}
.dp-slot:hover { background: rgba(255,255,255,0.38); }
.dp-slot.dp-slot-sel {
  background: #6a0dad;
  color: #fff;
  border-color: #6a0dad;
  font-weight: 700;
}

.dp-no-slots {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-style: italic;
}

.dp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.dp-input {
  padding: 8px 9px;
  font-size: 12px;
  background: #dcdcdc;
  border: none;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  width: 100%;
  outline: none;
  transition: background .18s;
  -webkit-appearance: none;
  appearance: none;
}
.dp-input:focus { background: #cfcfcf; }
.dp-input::placeholder { color: #777; }

select.dp-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  background-color: #dcdcdc;
  padding-right: 26px;
  cursor: pointer;
}

.dp-textarea { margin-top: 7px; height: 68px; resize: none; }

.dp-book-btn {
  margin-top: 8px;
  width: 100%;
  padding: 10px;
  background: #6a0dad;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: background .18s;
}
.dp-book-btn:hover { background: #5a0b93; }
.dp-book-btn:disabled { background: #9b59b6; cursor: not-allowed; }

.dp-back-link {
  display: block;
  text-align: center;
  color: rgba(255,255,255,0.72);
  font-size: 11px;
  cursor: pointer;
  margin-top: 9px;
  text-decoration: underline;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  width: 100%;
}
.dp-back-link:hover { color: #fff; }

.dp-err {
  color: #ffe0e0;
  font-size: 11px;
  margin-top: 5px;
  display: none;
}

.dp-success {
  text-align: center;
  padding: 24px 10px;
}
.dp-success-icon { font-size: 38px; margin-bottom: 8px; }
.dp-success h3 { color: #fff; font-size: 15px; margin: 0 0 5px; font-weight: 600; }
.dp-success p  { color: rgba(255,255,255,0.8); font-size: 12px; margin: 0; }

@media (max-width: 480px) {
  .dp-form-grid { grid-template-columns: 1fr; }
  .dp-box { padding: 14px 14px 22px; }
}
