/* Prosper Booking Calendar */
.pb-app {
  font-family: 'DM Sans', -apple-system, sans-serif;
  max-width: 720px;
  margin: 0 auto;
  color: #F4F1EC;
}

.pb-step__title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #F4F1EC;
  margin: 0 0 24px;
}

/* Calendar */
.pb-calendar-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}
.pb-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pb-cal-month {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #F4F1EC;
  font-weight: 600;
}
.pb-cal-nav {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #F4F1EC;
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pb-cal-nav:hover { background: rgba(201,168,76,0.15); }

.pb-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.pb-cal-day-header {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(244,241,236,0.35);
  letter-spacing: 0.08em;
  padding: 8px 0;
  text-transform: uppercase;
}
.pb-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: default;
  transition: all 0.15s;
  position: relative;
}
.pb-cal-day--empty { background: transparent; }
.pb-cal-day--past  { color: rgba(244,241,236,0.15); }
.pb-cal-day--available {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #F4F1EC;
  cursor: pointer;
}
.pb-cal-day--available:hover {
  background: rgba(34,197,94,0.2);
  border-color: rgba(34,197,94,0.5);
  transform: scale(1.05);
}
.pb-cal-day--available::after {
  content: '';
  position: absolute;
  bottom: 5px;
  width: 5px; height: 5px;
  background: #22c55e;
  border-radius: 50%;
}
.pb-cal-day--selected {
  background: #C9A84C !important;
  border-color: #C9A84C !important;
  color: #08121E !important;
  font-weight: 700;
}
.pb-cal-day--selected::after { background: #08121E !important; }
.pb-cal-day--today {
  border: 1px solid rgba(201,168,76,0.3);
  color: #C9A84C;
}
.pb-cal-day--unavailable { color: rgba(244,241,236,0.2); }

/* Time slots */
.pb-time-slots {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}
.pb-time-slots__title {
  font-size: 15px;
  font-weight: 600;
  color: #C9A84C;
  margin: 0 0 16px;
}
.pb-slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pb-slot {
  padding: 10px 18px;
  border-radius: 8px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  color: #F4F1EC;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.pb-slot:hover {
  background: rgba(34,197,94,0.18);
  border-color: rgba(34,197,94,0.45);
}
.pb-slot--selected {
  background: #C9A84C;
  border-color: #C9A84C;
  color: #08121E;
  font-weight: 700;
}

/* Form */
.pb-selected-summary {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 14px;
  margin-bottom: 24px;
  color: #C9A84C;
  font-weight: 500;
}

.pb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 500px) {
  .pb-form-grid { grid-template-columns: 1fr; }
}
.pb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pb-field--full { grid-column: 1 / -1; }
.pb-field label {
  font-size: 12px;
  color: rgba(244,241,236,0.5);
  font-weight: 500;
}
.pb-field label span { color: #C9A84C; }
.pb-field input,
.pb-field select,
.pb-field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #F4F1EC;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.pb-field input:focus,
.pb-field select:focus,
.pb-field textarea:focus { border-color: rgba(201,168,76,0.5); }
.pb-field input::placeholder,
.pb-field textarea::placeholder { color: rgba(244,241,236,0.25); }
.pb-field select option { background: #08121E; }
.pb-field textarea { resize: vertical; }

.pb-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 12px;
}

/* Buttons */
.pb-btn {
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  letter-spacing: 0.02em;
}
.pb-btn--primary {
  background: #C9A84C;
  color: #08121E;
}
.pb-btn--primary:hover { background: #d4b652; }
.pb-btn--primary:disabled { opacity: 0.5; cursor: not-allowed; }
.pb-btn--ghost {
  background: transparent;
  color: rgba(244,241,236,0.6);
  border: 1px solid rgba(255,255,255,0.15);
}
.pb-btn--ghost:hover { color: #F4F1EC; border-color: rgba(255,255,255,0.3); }

/* Confirmation */
.pb-confirm {
  text-align: center;
  padding: 48px 24px;
  background: rgba(34,197,94,0.04);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: 14px;
}
.pb-confirm__icon {
  width: 72px; height: 72px;
  background: rgba(34,197,94,0.15);
  border: 2px solid #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px;
  color: #22c55e;
}
.pb-confirm h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: #F4F1EC;
  margin: 0 0 12px;
}
.pb-confirm p { color: rgba(244,241,236,0.6); margin: 0 0 20px; }

.pb-confirm__summary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 16px 24px;
  font-size: 14px;
  margin: 0 auto 20px;
  max-width: 400px;
  text-align: left;
}
.pb-confirm__summary div { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.pb-confirm__summary div:last-child { border: none; }
.pb-confirm__summary .pb-cs-label { color: rgba(244,241,236,0.45); font-size: 12px; }
.pb-confirm__summary .pb-cs-value { font-weight: 500; }

.pb-confirm__note {
  font-size: 13px;
  color: rgba(244,241,236,0.4);
}
.pb-confirm__note a { color: #C9A84C; }

.pb-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fca5a5;
  font-size: 13px;
  margin-bottom: 16px;
}
