.pb-booking-wrap {
  max-width: 1100px;
  margin: 0 auto;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.pb-booking-wrap .pb-layout {
  display: grid !important;
  grid-template-columns: 280px 1fr 300px !important;
  min-width: 0 !important;
}

.pb-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow-x: hidden;
  overflow-y: hidden;
}

.pb-layout {
  min-height: 620px;
}

.pb-sidebar {
  border-right: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pb-avatar {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: linear-gradient(145deg, #dbe7ff, #f1f5f9);
  border: 1px solid #d6e0ef;
  margin-bottom: 16px;
}

.pb-sidebar h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

#pb-sidebar-title {
  font-size: 20px;
  line-height: 1.1;
}

#pb-sidebar-text {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.35;
}

.pb-sidebar-help {
  margin-top: auto;
  color: #64748b;
  font-size: 14px;
  line-height: 1.35;
}

.pb-sidebar-help strong {
  display: block;
  color: #111827;
  margin-bottom: 6px;
}

.pb-main {
  padding: 22px;
  border-right: 1px solid #e5e7eb;
  min-width: 0;
}

#pb-main-title {
  margin: 0 0 16px;
  font-size: 22px;
}

.pb-step {
  display: none;
}

.pb-step.active {
  display: block;
}

.pb-card-list {
  display: grid;
  gap: 12px;
}

.pb-choice-card {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background: #fff;
  padding: 14px 18px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.pb-choice-card h4 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.15;
  color: #111827 !important;
}

.pb-choice-card p {
  margin: 0;
  color: #111827;
  font-size: 14px;
  line-height: 1.3;
}

.pb-choice-card.pb-choice-selected {
  border-color: #111827;
  box-shadow: inset 0 0 0 1px #111827;
}

.pb-service-choice .pb-choice-price {
  border-left: 1px solid #e5e7eb;
  padding-left: 16px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.pb-card-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  padding: 20px;
}

.pb-calendar {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  background: #fcfcfd;
}

.pb-calendar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pb-cal-nav {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #333;
  width: 34px;
  height: 34px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.pb-cal-nav:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.pb-calendar-weekdays,
.pb-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 8px;
}

.pb-calendar-weekdays {
  margin-bottom: 6px;
  color: #666;
  font-size: 12px;
  text-align: center;
}

.pb-day {
  position: relative;
  border: 1px solid #edf0f4;
  border-radius: 0;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  min-height: 40px;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pb-day::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 4px;
  height: 2px;
  border-radius: 0;
  background: transparent;
}

.pb-day-empty {
  min-height: 40px;
}

.pb-day-available {
  background: #f0faf4;
  border-color: #caead4;
  color: #1f5133;
}

.pb-day-available::after {
  background: #73cf8e;
}

.pb-day-available:hover {
  transform: translateY(-1px);
  border-color: #7fcf98;
  box-shadow: 0 6px 14px rgba(24, 109, 54, 0.14);
}

.pb-day-unavailable {
  background: #fff5f5;
  border-color: #f3c9c9;
  color: #9d4b4b;
  cursor: not-allowed;
}

.pb-day-unavailable::after {
  background: #e8aaaa;
}

.pb-day-selected {
  background: #2f6d58;
  border-color: #2f6d58;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 0 1px #2f6d58;
}

.pb-day-selected::after {
  background: rgba(255, 255, 255, 0.92);
}

.pb-calendar-legend {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  font-size: 13px;
  color: #555;
}

.pb-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 5px;
}

.pb-dot-available {
  background: #34a853;
}

.pb-dot-unavailable {
  background: #d93025;
}

.pb-booking-wrap label {
  display: block;
  margin-bottom: 10px;
}

.pb-booking-wrap input,
.pb-booking-wrap textarea,
.pb-booking-wrap button,
.pb-booking-wrap select {
  font: inherit;
}

.pb-booking-wrap input,
.pb-booking-wrap textarea,
.pb-booking-wrap select {
  width: 100%;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 9px;
}

.pb-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.pb-actions button {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  background: #24634f;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pb-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(16, 24, 40, 0.15);
}

.pb-actions button:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(16, 24, 40, 0.12);
}

#pb-prev {
  background: #555;
}

#pb-prev:hover {
  background: #4b5563;
}

.pb-muted {
  color: #666;
}

.pb-success {
  color: #1f6f2d;
}

.pb-error {
  color: #9f1c1c;
}

.pb-summary-panel {
  background: #ffffff;
  padding: 22px;
  border-left: 1px solid #e5e7eb;
  min-width: 300px;
}

.pb-summary-head {
  margin: -22px -22px 16px;
  padding: 14px 22px;
  font-size: 24px;
  font-weight: 700;
  border-bottom: 1px solid #e5e7eb;
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 10px 10px;
  background-position: center center;
}

.pb-live-summary {
  display: grid;
  gap: 10px;
}

.pb-sum-service {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.pb-sum-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 6px;
}

.pb-sum-line span {
  color: #64748b;
}

.pb-sum-line strong {
  color: #111827;
}

.pb-sum-breakdown {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
}

.pb-sum-total {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 22px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .pb-booking-wrap .pb-layout {
    grid-template-columns: 1fr !important;
  }

  .pb-sidebar,
  .pb-summary-panel {
    display: none !important;
  }

  .pb-main {
    border-right: 0;
    padding: 16px;
  }

  .pb-choice-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pb-service-choice .pb-choice-price {
    border-left: 0;
    border-top: 1px solid #e5e7eb;
    padding-left: 0;
    padding-top: 10px;
    font-size: 18px;
  }

  .pb-actions {
    justify-content: space-between;
  }

  .pb-actions button {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  #pb-main-title {
    font-size: 32px;
    line-height: 1.1;
  }

  .pb-calendar {
    padding: 10px;
  }

  .pb-calendar-weekdays,
  .pb-calendar-grid {
    gap: 6px;
  }

  .pb-day {
    min-height: 34px;
    font-size: 14px;
  }
}
