/* Booking settings hub — Phase 1 */
.book-hub {
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 4px 32px;
}

.book-hub-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.book-hub-title {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  color: var(--gold2);
  margin: 0 0 6px;
  letter-spacing: 1px;
}

.book-hub-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
  font-family: 'Noto Sans Tamil', sans-serif;
}

.book-status {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-family: 'Noto Sans Tamil', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.book-status--trial {
  background: rgba(201, 150, 42, 0.12);
  border: 1px solid rgba(201, 150, 42, 0.35);
  color: var(--gold2);
}

.book-status--paid {
  background: rgba(62, 207, 207, 0.1);
  border: 1px solid rgba(62, 207, 207, 0.35);
  color: var(--teal);
}

.book-status--expired {
  background: rgba(220, 80, 80, 0.1);
  border: 1px solid rgba(220, 80, 80, 0.35);
  color: var(--red);
}

.book-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.book-stats-label {
  font-weight: 700;
  color: var(--gold2);
  font-family: 'Cinzel', serif;
}

.book-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.book-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Noto Sans Tamil', sans-serif;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .book-grid {
    grid-template-columns: 1fr;
  }
}

.book-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--gold2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.book-inp {
  width: 100%;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  box-sizing: border-box;
  font-family: 'Noto Sans Tamil', sans-serif;
}

.book-hint {
  font-size: 11px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.45;
}

.book-section {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.book-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
}

.book-section h3 {
  margin: 0;
  font-size: 14px;
  font-family: 'Cinzel', serif;
  color: var(--gold2);
}

.book-service-row {
  display: grid;
  grid-template-columns: 1fr 90px 100px 32px;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

@media (max-width: 560px) {
  .book-service-row {
    grid-template-columns: 1fr 1fr;
  }
  .book-service-row .book-svc-dur {
    grid-column: 1;
  }
  .book-rm {
    grid-column: 2;
    justify-self: end;
  }
}

.book-rm {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}

.book-day-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.book-day-check {
  min-width: 52px;
  font-size: 13px;
  font-family: 'Noto Sans Tamil', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.book-day-sep {
  color: var(--text-dim);
  font-size: 12px;
}

.book-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.book-link-inp {
  flex: 1;
  min-width: 200px;
}

.book-link-note {
  font-size: 11px;
  color: var(--text-dim);
  width: 100%;
}

.book-save {
  align-self: flex-start;
  min-width: 160px;
}

.book-day-block {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: var(--bg);
}

.book-day-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.book-day-head strong {
  min-width: 36px;
  font-family: 'Noto Sans Tamil', sans-serif;
}

.book-day-closed {
  font-size: 11px;
  color: var(--text-dim);
}

.book-day-slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.book-slot-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.book-day-empty {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0;
}

.book-add-slot {
  margin-left: auto;
}

/* ── Public booking page ── */
.book-public-body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #1a152e 0%, #05040a 100%);
  color: #ede8e0;
  font-family: 'Noto Sans Tamil', sans-serif;
  padding: 20px 16px 48px;
}

.book-public {
  max-width: 520px;
  margin: 0 auto;
}

.book-public-header {
  text-align: center;
  margin-bottom: 20px;
}

.book-public-brand {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #c9962a;
  text-transform: uppercase;
}

.book-public-title {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  color: #f0cc70;
  margin: 8px 0 4px;
}

.book-public-sub {
  font-size: 13px;
  color: #b0a8c0;
}

.book-public-card {
  background: rgba(20, 16, 32, 0.92);
  border: 1px solid rgba(201, 150, 42, 0.25);
  border-radius: 12px;
  padding: 20px 18px;
}

.book-step-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: #f0cc70;
  margin: 0 0 14px;
}

.book-pub-label {
  display: block;
  font-size: 12px;
  color: #c9962a;
  margin-bottom: 12px;
}

.book-public .book-inp,
.book-public input.book-inp,
.book-public select.book-inp {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: #14101f;
  border: 1px solid rgba(201, 150, 42, 0.55);
  border-radius: 8px;
  color: #f5f0e6;
  font-size: 16px;
  font-family: 'Noto Sans Tamil', sans-serif;
  box-sizing: border-box;
}

.book-public .book-inp::placeholder {
  color: #9a92a8;
  opacity: 1;
}

.book-public input.book-inp[type="date"],
.book-public input.book-inp[type="time"] {
  color-scheme: dark;
}

.book-pub-tob {
  grid-column: 1 / -1;
}

.book-tob-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.book-tob-part {
  flex: 1 1 56px;
  min-width: 56px;
  padding: 10px 8px;
  text-align: center;
}

.book-tob-ampm {
  flex: 1 1 72px;
  min-width: 72px;
  padding: 10px 8px;
}

.book-tob-sep {
  color: #c9962a;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.book-pub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.book-pub-full {
  grid-column: 1 / -1;
}

@media (max-width: 480px) {
  .book-pub-grid {
    grid-template-columns: 1fr;
  }
}

.book-public-dim {
  font-size: 12px;
  color: #b0a8c0;
}

.book-public-err {
  color: #e88;
  font-size: 14px;
}

.book-public-ok {
  color: #3ecfcf;
  margin-bottom: 12px;
}

.book-pay-box {
  background: rgba(201, 150, 42, 0.08);
  border: 1px solid rgba(201, 150, 42, 0.2);
  border-radius: 8px;
  padding: 12px;
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.5;
}

.book-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.book-slot-btn {
  padding: 10px 8px;
  border-radius: 8px;
  border: 1px solid rgba(201, 150, 42, 0.35);
  background: rgba(8, 7, 15, 0.8);
  color: #ede8e0;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}

.book-slot-btn:hover {
  border-color: #c9962a;
  background: rgba(201, 150, 42, 0.12);
}

.book-pub-nav {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.book-pub-btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  margin-top: 12px;
}

.book-public-foot {
  text-align: center;
  margin-top: 28px;
  font-size: 11px;
  color: #7a7090;
}

.book-public-foot strong {
  color: #c9962a;
  font-family: 'Cinzel', serif;
}

.book-public-loading {
  text-align: center;
  color: #b0a8c0;
}

.book-public .btn {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
}

.book-public .btn-gold {
  background: linear-gradient(135deg, #c9a227, #e8c96a);
  color: #1a1208;
  font-weight: 700;
}

.book-public .btn-outline {
  background: transparent;
  border: 1px solid rgba(201, 150, 42, 0.4);
  color: #f0cc70;
}

.book-profile-corp {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  margin-bottom: 16px;
  background: linear-gradient(145deg, rgba(26, 20, 40, 0.98), rgba(12, 10, 20, 0.98));
  border: 1px solid rgba(201, 150, 42, 0.28);
  border-radius: 12px;
}

.book-profile-photo-wrap {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(201, 150, 42, 0.45);
  background: #0a0810;
}

.book-profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-profile-body { flex: 1; min-width: 0; }

.book-profile-exp {
  font-size: 12px;
  color: #3ecfcf;
  margin: 6px 0 10px;
  font-weight: 600;
}

.book-profile-about {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 150, 42, 0.2);
}

.book-profile-about-title {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c9962a;
  margin: 0 0 6px;
}

.book-profile-about p {
  font-size: 13px;
  line-height: 1.55;
  color: #c8c0d4;
  margin: 0;
}

.book-profile-clinic-logo {
  margin-top: 12px;
}

.book-profile-clinic-logo img {
  max-height: 44px;
  max-width: 160px;
  object-fit: contain;
  border-radius: 6px;
}

.book-profile-guhan {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 10px;
  color: #7a7090;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-profile-guhan img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

@media (max-width: 520px) {
  .book-profile-corp {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .book-profile-about { text-align: left; }
}

.book-crm-notify {
  margin-bottom: 16px;
  padding: 14px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.book-crm-notify h3 {
  margin: 0 0 10px;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: var(--gold2);
}

.book-request-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px;
  margin-bottom: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
}

.book-request-meta { flex: 1; min-width: 180px; line-height: 1.45; }

.book-request-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.booking-pending-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 10px;
  background: #c44;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
}

.book-pro-lock {
  padding: 12px;
  margin-bottom: 12px;
  background: rgba(201, 150, 42, 0.08);
  border: 1px dashed rgba(201, 150, 42, 0.35);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-dim);
}

.book-trial-preview {
  margin-bottom: 14px;
}

.book-trial-preview-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  color: var(--gold2);
  margin: 0 0 8px;
}

.book-trial-preview-card {
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
}

.book-trial-preview-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.book-trial-photo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201, 150, 42, 0.4);
}

.book-trial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-trial-brand {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.book-trial-name {
  font-size: 14px;
  color: var(--gold2);
}

.book-trial-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.book-trial-exp {
  font-size: 10px;
  color: #3ecfcf;
  margin: 6px 0;
}

.book-trial-about-label {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-top: 6px;
}

.book-trial-about {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
  margin: 4px 0 8px;
}

.book-trial-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.book-trial-footer img {
  width: 16px;
  height: 16px;
}

.book-trial-upgrade {
  margin-top: 4px;
}

.book-pro-section {
  margin-bottom: 14px;
}

.book-upload-guide {
  padding: 10px 12px;
  margin-bottom: 12px;
  background: rgba(201, 150, 42, 0.06);
  border: 1px solid rgba(201, 150, 42, 0.2);
  border-radius: 8px;
  font-size: 12px;
}

.book-upload-steps {
  margin: 8px 0 8px 18px;
  padding: 0;
  line-height: 1.5;
}

.book-url-field {
  display: block;
  margin-bottom: 14px;
}

.book-image-spec {
  display: block;
  margin: 4px 0 8px;
  padding: 8px 10px;
  background: var(--card2);
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
}

.book-image-spec strong {
  display: block;
  color: var(--gold2);
  margin-bottom: 2px;
}

.book-url-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.book-url-inp {
  flex: 1 1 180px;
  min-width: 0;
}

.book-url-preview {
  margin-top: 8px;
  min-height: 24px;
}

.book-url-preview-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.book-url-preview-logo {
  max-height: 40px;
  max-width: 140px;
  object-fit: contain;
}

@media (max-width: 520px) {
  .book-url-row .btn {
    flex: 1 1 auto;
  }
}

/* ── Shared booking calendar ── */
.book-cal-root {
  max-width: 420px;
  margin: 0 auto 12px;
}

.book-cal {
  user-select: none;
}

.book-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.book-cal-month {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 15px;
  color: var(--gold2, #c9962a);
  text-align: center;
  flex: 1;
}

.book-public .book-cal-month,
.book-public .book-cal-month {
  color: #f0cc70;
}

.book-cal-nav {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(201, 150, 42, 0.35));
  background: var(--card2, #14101f);
  color: var(--gold2, #c9962a);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.book-public .book-cal-nav {
  background: #14101f;
  border-color: rgba(201, 150, 42, 0.55);
  color: #f0cc70;
}

.book-cal-nav:hover:not(:disabled) {
  background: rgba(201, 150, 42, 0.12);
}

.book-cal-dow-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.book-cal-dow {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim, #9a92a8);
  text-transform: uppercase;
}

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

.book-cal-day {
  position: relative;
  min-height: 44px;
  padding: 6px 2px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text, #e8e0d4);
  font-size: 14px;
  font-family: 'Noto Sans Tamil', sans-serif;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.book-public .book-cal-day {
  color: #f5f0e6;
}

.book-cal-day:disabled {
  cursor: default;
  opacity: 0.35;
}

.book-cal-empty {
  visibility: hidden;
  pointer-events: none;
}

.book-cal-past {
  opacity: 0.25;
}

.book-cal-closed {
  opacity: 0.45;
}

.book-cal-open {
  border-color: rgba(201, 150, 42, 0.35);
  background: rgba(201, 150, 42, 0.08);
}

.book-cal-open:not(:disabled):hover {
  background: rgba(201, 150, 42, 0.18);
}

.book-cal-blocked {
  opacity: 0.4;
  text-decoration: line-through;
  background: rgba(196, 68, 68, 0.08);
}

.book-cal-custom {
  box-shadow: inset 0 0 0 1px rgba(155, 111, 245, 0.45);
}

.book-cal-selected {
  border-color: #c9962a !important;
  background: rgba(201, 150, 42, 0.28) !important;
  font-weight: 700;
}

.book-cal-num {
  line-height: 1.1;
}

.book-cal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6b9fff;
  display: block;
}

.book-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
  font-size: 10px;
  color: var(--text-dim, #9a92a8);
  justify-content: center;
}

.book-cal-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: middle;
}

.book-cal-legend-dot.open { background: rgba(201, 150, 42, 0.45); }
.book-cal-legend-dot.closed { background: rgba(255, 255, 255, 0.12); }
.book-cal-legend-dot.blocked { background: rgba(196, 68, 68, 0.45); }
.book-cal-legend-dot.booking { background: #6b9fff; border-radius: 50%; width: 8px; height: 8px; }

.book-section-cal {
  overflow: hidden;
}

.book-date-panel {
  margin-top: 12px;
  padding: 12px;
  background: var(--bg, #0f0c18);
  border: 1px solid var(--border, rgba(201, 150, 42, 0.25));
  border-radius: 10px;
}

.book-date-panel:empty {
  display: none;
}

.book-date-panel-title {
  margin: 0 0 8px;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: var(--gold2, #c9962a);
}

.book-date-modes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.book-date-mode {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}

.book-date-custom {
  margin-bottom: 10px;
}

.book-date-apply {
  margin-top: 8px;
}

.book-date-bookings {
  font-size: 12px;
  margin-bottom: 8px;
}

.book-date-bookings ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

@media (max-width: 380px) {
  .book-cal-day {
    min-height: 38px;
    font-size: 12px;
  }
  .book-cal-nav {
    width: 36px;
    height: 36px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Booking hub — visual focus (astrologer settings in CRM)
═══════════════════════════════════════════════════════════════ */
.book-hub--visual {
  max-width: 960px;
  margin: 0 auto;
  padding: 4px 8px 40px;
}

.book-hub--loading {
  min-height: 200px;
  display: grid;
  place-items: center;
}

.book-loading-msg {
  font-size: 16px;
  color: var(--text-dim);
  font-family: 'Noto Sans Tamil', sans-serif;
}

/* Hero header — matches CRM cosmic gold */
.book-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  margin-bottom: 16px;
  border-radius: 14px;
  border: 1px solid rgba(196, 165, 116, 0.35);
  background:
    radial-gradient(ellipse 80% 120% at 10% 0%, rgba(72, 48, 140, 0.12), transparent 55%),
    linear-gradient(135deg, rgba(16, 24, 48, 0.06) 0%, var(--card) 45%, var(--card2) 100%);
  box-shadow: 0 4px 20px rgba(16, 24, 48, 0.08);
}

.book-hero__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.book-hero__icon {
  font-size: 40px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(201, 150, 42, 0.35));
}

.book-hero__title {
  margin: 0 0 6px;
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b5a18;
  background: linear-gradient(165deg, #5c3a12 0%, #a87220 50%, #c9962a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-theme .book-hero__title {
  background: linear-gradient(165deg, #ffe97a 0%, #f0cc70 50%, #c9962a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.book-hero__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  font-family: 'Noto Sans Tamil', sans-serif;
  font-weight: 600;
  max-width: 42em;
}

.book-hero__close {
  flex-shrink: 0;
  min-height: 44px;
}

/* Stat cards */
.book-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 560px) {
  .book-stat-row {
    grid-template-columns: 1fr;
  }
}

.book-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.book-stat-card--ok {
  border-color: rgba(62, 207, 207, 0.4);
  background: rgba(62, 207, 207, 0.06);
}

.book-stat-card--wait {
  border-color: rgba(201, 150, 42, 0.45);
  background: rgba(201, 150, 42, 0.08);
}

.book-stat-card__icon {
  font-size: 22px;
  margin-bottom: 4px;
}

.book-stat-card__n {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold2);
  line-height: 1.1;
}

.book-stat-card__l {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  margin-top: 4px;
  font-family: 'Noto Sans Tamil', sans-serif;
}

/* Focus cards & steps */
.book-focus-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(16, 24, 48, 0.06);
}

.book-focus-card--alert {
  border-color: rgba(201, 150, 42, 0.45);
  background: linear-gradient(180deg, rgba(201, 150, 42, 0.1) 0%, var(--card) 35%);
}

.book-focus-card--has-pending {
  border-color: rgba(196, 68, 68, 0.35);
  box-shadow: 0 0 0 1px rgba(196, 68, 68, 0.12);
}

.book-step-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.book-step-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 800;
  color: #1a1004;
  background: linear-gradient(180deg, #ffe97a, #c9962a);
  box-shadow: 0 2px 8px rgba(201, 150, 42, 0.35);
}

.book-step-badge--alert {
  background: linear-gradient(180deg, #ffb4b4, #c44);
  color: #fff;
}

.book-step-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.book-step-head-text {
  flex: 1;
  min-width: 0;
}

.book-step-title {
  margin: 0 0 4px;
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--gold2);
  letter-spacing: 0.06em;
}

.book-step-hint {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  font-family: 'Noto Sans Tamil', sans-serif;
  font-weight: 500;
}

.book-pending-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 11px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  vertical-align: middle;
}

.book-subsec-title {
  margin: 18px 0 10px;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: var(--gold2);
}

/* Large toggle */
.book-toggle--large {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: rgba(201, 150, 42, 0.08);
  border: 1px solid rgba(201, 150, 42, 0.3);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.book-toggle--large input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  accent-color: var(--gold2);
}

.book-toggle__text {
  font-family: 'Noto Sans Tamil', sans-serif;
}

/* Share link — prominent */
.book-link-hero {
  padding: 14px;
  border-radius: 10px;
  background: var(--card2);
  border: 1px dashed rgba(201, 150, 42, 0.45);
}

.book-link-hero__lbl {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold2);
  margin-bottom: 10px;
  font-family: 'Cinzel', serif;
}

.book-link-copy {
  flex-shrink: 0;
  min-height: 48px;
  font-size: 14px;
  padding: 10px 18px;
}

.book-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.book-link-inp {
  flex: 1;
  min-width: 180px;
  min-height: 48px;
  font-size: 14px;
}

/* Fields — larger for readability */
.book-field__lbl {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold2);
  margin-bottom: 6px;
  font-family: 'Noto Sans Tamil', sans-serif;
}

.book-inp--lg {
  min-height: 48px;
  font-size: 16px;
  padding: 10px 12px;
}

.book-grid--profile {
  gap: 14px;
}

.book-field--full {
  grid-column: 1 / -1;
}

.book-hint--inline {
  margin-top: 10px;
  font-size: 13px;
}

.book-section-head--inner {
  justify-content: flex-end;
  margin-bottom: 10px;
  border: none;
  padding: 0;
}

.book-services-list .book-service-row {
  grid-template-columns: 1fr 100px 110px 40px;
  padding: 10px;
  background: var(--card2);
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.book-cal-root--hub {
  max-width: 100%;
  margin: 0 0 12px;
}

/* Pending request cards */
.book-pending-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.book-empty-pending {
  text-align: center;
  padding: 20px;
  color: var(--text-dim);
}

.book-empty-pending__icon {
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
}

.book-request-card {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--card2);
  border: 1px solid var(--border);
}

.book-request-card__main {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  flex: 1;
  min-width: 200px;
}

.book-request-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5a18, #c9962a);
  color: #fff8e8;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.book-request-card__name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  font-family: 'Noto Sans Tamil', sans-serif;
}

.book-request-card__phone {
  font-size: 15px;
  color: var(--text-dim);
  margin: 4px 0 8px;
}

.book-request-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.book-request-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(45, 31, 8, 0.1);
  color: var(--text);
  border: 1px solid var(--border);
}

.book-request-pill--time {
  background: rgba(201, 150, 42, 0.12);
  border-color: rgba(201, 150, 42, 0.35);
  color: var(--gold2);
}

.book-request-pill--fee {
  background: rgba(62, 207, 207, 0.12);
  border-color: rgba(62, 207, 207, 0.35);
  color: var(--teal);
}

.book-request-card__ref {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
}

.book-request-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}

.book-request-btn {
  min-height: 48px;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
}

@media (min-width: 640px) {
  .book-request-card__actions {
    flex-direction: row;
    min-width: auto;
  }
  .book-request-btn {
    width: auto;
    min-width: 130px;
  }
}

/* Collapsible help */
.book-details {
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.book-details__sum {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  font-family: 'Noto Sans Tamil', sans-serif;
  background: rgba(201, 150, 42, 0.08);
  color: var(--gold2);
}

.book-details__sum::-webkit-details-marker {
  display: none;
}

.book-details[open] .book-details__sum {
  border-bottom: 1px solid var(--border);
}

.book-details .book-upload-guide,
.book-details .book-hint {
  padding: 0 14px 12px;
}

.book-details .book-trial-preview-card {
  margin: 0 14px 14px;
}

/* Sticky save */
.book-save-bar {
  position: sticky;
  bottom: 8px;
  z-index: 20;
  padding: 12px 0 4px;
  background: linear-gradient(180deg, transparent, var(--bg) 24%);
}

.book-save {
  width: 100%;
  max-width: 320px;
  min-height: 52px;
  font-size: 16px;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
}

/* Status banners — slightly larger */
.book-status {
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 12px;
}

/* ── Public client page — step progress ── */
.book-pub-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}

.book-pub-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 8px;
  opacity: 0.45;
}

.book-pub-step--active {
  opacity: 1;
  background: rgba(201, 150, 42, 0.15);
  border: 1px solid rgba(201, 150, 42, 0.4);
}

.book-pub-step--done {
  opacity: 0.75;
}

.book-pub-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: #f0cc70;
  border: 1px solid rgba(201, 150, 42, 0.35);
}

.book-pub-step--active .book-pub-step__num {
  background: linear-gradient(180deg, #ffe97a, #c9962a);
  color: #1a1004;
  border: none;
}

.book-pub-step--done .book-pub-step__num {
  background: rgba(62, 207, 207, 0.25);
  color: #3ecfcf;
}

.book-pub-step__lbl {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #b0a8c0;
  text-align: center;
}

.book-pub-step--active .book-pub-step__lbl {
  color: #f0cc70;
  font-weight: 700;
}

.book-step-title__n {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  font-size: 14px;
  background: linear-gradient(180deg, #ffe97a, #c9962a);
  color: #1a1004;
  vertical-align: middle;
}

.book-step-lead {
  margin: -6px 0 16px;
  font-size: 14px;
}

.book-pub-label--big {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.book-pub-btn--primary {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  margin-top: 8px;
}

.book-slot-btn {
  min-height: 48px;
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 400px) {
  .book-pub-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
