/* AWH Booking Form v2.4.0 */
:root {
  --awh-sage: #6B7F5E;
  --awh-sage-light: #8FA67E;
  --awh-sage-pale: #D5DDCF;
  --awh-cream: #FAF7F2;
  --awh-cream-dark: #F0EBE1;
  --awh-charcoal: #2E2A26;
  --awh-text: #3D3832;
  --awh-text-light: #6B6259;
  --awh-border: #E0D8CE;
  --awh-blush: #C9918A;
  --awh-honey: #D4A574;
  --awh-font-display: 'Cormorant Garamond', Georgia, serif;
  --awh-font-body: 'Libre Franklin', 'Segoe UI', sans-serif;
}

.awh-booking {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px;
  font-family: var(--awh-font-body);
  color: var(--awh-text);
}

/* ── Progress Steps ── */
.awh-progress {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
}

.awh-progress-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: var(--awh-border);
  transition: background 0.4s ease, transform 0.3s ease;
}

.awh-progress-dot.active { background: var(--awh-sage); transform: scaleY(1.2); }
.awh-progress-dot.done { background: var(--awh-sage-pale); }

/* ── Step Container ── */
.awh-step {
  animation: awh-fadeIn 0.4s ease;
}

@keyframes awh-fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.awh-step-title {
  font-family: var(--awh-font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 300;
  color: var(--awh-charcoal);
  text-align: center;
  margin-bottom: 8px;
}

.awh-step-title em { font-weight: 400; color: var(--awh-sage); font-style: italic; }

.awh-step-subtitle {
  text-align: center;
  font-size: 0.92rem;
  color: var(--awh-text-light);
  margin-bottom: 32px;
}

/* ── Skin Test Warning ── */
.awh-skin-test-warning {
  background: #FFF3E0;
  border: 2px solid #E8A735;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 16px 0 20px;
  text-align: center;
}

.awh-skin-test-warning strong {
  display: block;
  font-size: 0.95rem;
  color: #8B6914;
  margin-bottom: 4px;
}

.awh-skin-test-warning p {
  font-size: 0.85rem;
  color: #9A7B25;
  margin: 0;
  line-height: 1.5;
}

.awh-skin-test-ok {
  background: #e6f4ea;
  border: 2px solid #1a7431;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 16px 0 20px;
  text-align: center;
}

.awh-skin-test-ok strong {
  display: block;
  font-size: 0.95rem;
  color: #1a7431;
  margin-bottom: 4px;
}

.awh-skin-test-ok p {
  font-size: 0.85rem;
  color: #2d6a3a;
  margin: 0;
  line-height: 1.5;
}

/* ── Multi-Service Selection ── */
.awh-svc-group {
  margin-bottom: 24px;
}

.awh-svc-group-title {
  font-family: var(--awh-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--awh-charcoal);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--awh-border);
}

.awh-svc-group-icon {
  font-style: normal;
  margin-right: 4px;
}

.awh-svc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid var(--awh-border);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.awh-svc-row:hover {
  border-color: var(--awh-sage-pale);
  box-shadow: 0 2px 8px rgba(107,127,94,0.08);
}

.awh-svc-row.selected {
  border-color: var(--awh-sage);
  background: rgba(107,127,94,0.04);
}

.awh-svc-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.awh-svc-info {
  flex: 1;
  min-width: 0;
}

.awh-svc-name {
  display: block;
  font-family: var(--awh-font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--awh-charcoal);
}

.awh-svc-dur {
  display: block;
  font-size: 0.75rem;
  color: var(--awh-text-light);
  margin-top: 2px;
}

.awh-svc-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--awh-text-light);
  margin-top: 6px;
  line-height: 1.4;
  font-style: italic;
}

.awh-svc-price {
  font-family: var(--awh-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--awh-sage);
  white-space: nowrap;
}

.awh-svc-skin-badge {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  background: #FFF3E0;
  color: #8B6914;
  border: 1px solid #E8A735;
  border-radius: 3px;
  padding: 2px 5px;
  letter-spacing: 0.05em;
}

.awh-skin-test-key {
  text-align: center;
  font-size: 0.8rem;
  color: var(--awh-text-light);
  margin: -16px 0 24px;
}

.awh-skin-test-key .awh-svc-skin-badge {
  display: inline;
  position: relative;
  top: -1px;
  margin-right: 4px;
}

/* ── Selection Summary (floating) ── */
.awh-selection-summary {
  background: #fff;
  border: 2px solid var(--awh-sage);
  border-radius: 6px;
  padding: 16px 20px;
  margin-top: 20px;
}

.awh-selection-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--awh-charcoal);
  margin-bottom: 6px;
}

.awh-selection-total {
  color: var(--awh-sage);
  font-family: var(--awh-font-display);
  font-size: 1rem;
}

.awh-selection-list {
  font-size: 0.82rem;
  color: var(--awh-text-light);
  line-height: 1.4;
}

/* ── Staff Cards ── */
.awh-staff-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.awh-staff-option {
  background: #fff;
  border: 2px solid var(--awh-border);
  border-radius: 4px;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.awh-staff-option:hover {
  border-color: var(--awh-sage-pale);
  transform: translateY(-2px);
}

.awh-staff-option.selected {
  border-color: var(--awh-sage);
  background: rgba(107,127,94,0.04);
}

.awh-staff-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--awh-sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--awh-font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 auto 12px;
}

.awh-staff-option.no-pref .awh-staff-avatar { background: var(--awh-honey); }

.awh-staff-option h4 {
  font-family: var(--awh-font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--awh-charcoal);
}

.awh-staff-option p {
  font-size: 0.78rem;
  color: var(--awh-text-light);
  margin: 0;
  line-height: 1.4;
}

/* ── Calendar ── */
.awh-calendar {
  background: #fff;
  border: 1px solid var(--awh-border);
  border-radius: 4px;
  overflow: hidden;
}

.awh-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--awh-cream);
  border-bottom: 1px solid var(--awh-border);
}

.awh-calendar-title {
  font-family: var(--awh-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--awh-charcoal);
}

.awh-calendar-nav { display: flex; gap: 8px; }

.awh-calendar-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--awh-border);
  background: #fff;
  color: var(--awh-text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.awh-calendar-nav button:hover { border-color: var(--awh-sage); color: var(--awh-sage); }

.awh-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 12px;
}

.awh-calendar-dow {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--awh-text-light);
  padding: 8px 0;
}

.awh-calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.88rem;
  color: var(--awh-text);
  cursor: default;
  transition: all 0.2s;
  border: none;
  background: none;
}

.awh-calendar-day.available { cursor: pointer; font-weight: 500; color: var(--awh-charcoal); }
.awh-calendar-day.available:hover { background: var(--awh-sage-pale); }
.awh-calendar-day.selected { background: var(--awh-sage); color: #fff; font-weight: 600; }
.awh-calendar-day.unavailable { color: var(--awh-border); }
.awh-calendar-day.other-month { visibility: hidden; }
.awh-calendar-day.today { box-shadow: inset 0 0 0 2px var(--awh-sage-pale); }

/* ── Time Slots ── */
.awh-timeslots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.awh-timeslot {
  background: #fff;
  border: 2px solid var(--awh-border);
  border-radius: 4px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--awh-charcoal);
}

.awh-timeslot:hover { border-color: var(--awh-sage-pale); background: rgba(107,127,94,0.04); }
.awh-timeslot.selected { border-color: var(--awh-sage); background: var(--awh-sage); color: #fff; }

.awh-timeslot small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  margin-top: 2px;
  opacity: 0.7;
}

.awh-no-slots {
  text-align: center;
  padding: 32px;
  color: var(--awh-text-light);
  font-style: italic;
}

/* ── Form Fields ── */
.awh-form { display: grid; gap: 16px; }

.awh-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--awh-text-light);
  margin-bottom: 6px;
}

.awh-field input,
.awh-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--awh-border);
  border-radius: 4px;
  font-family: var(--awh-font-body);
  font-size: 0.95rem;
  color: var(--awh-charcoal);
  background: #fff;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

.awh-field input:focus,
.awh-field textarea:focus { outline: none; border-color: var(--awh-sage); }

.awh-field input::placeholder,
.awh-field textarea::placeholder { color: #D4C8BB; }

.awh-field textarea { resize: vertical; min-height: 80px; }

.awh-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .awh-field-row { grid-template-columns: 1fr; }
}

/* ── Summary ── */
.awh-summary {
  background: #fff;
  border: 2px solid var(--awh-border);
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 24px;
}

.awh-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--awh-cream-dark);
  font-size: 0.95rem;
}

.awh-summary-row:last-child { border-bottom: none; }

.awh-summary-label {
  color: var(--awh-text-light);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.awh-summary-value {
  font-weight: 500;
  color: var(--awh-charcoal);
  text-align: right;
  max-width: 60%;
}

.awh-summary-total {
  font-family: var(--awh-font-display);
  font-size: 1.4rem;
  color: var(--awh-sage);
}

/* ── Buttons ── */
.awh-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}

.awh-btn {
  padding: 14px 36px;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-family: var(--awh-font-body);
}

.awh-btn-primary {
  background: var(--awh-sage);
  color: var(--awh-cream);
  border-color: var(--awh-sage);
}

.awh-btn-primary:hover { background: var(--awh-charcoal); border-color: var(--awh-charcoal); }
.awh-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

.awh-btn-back {
  background: transparent;
  color: var(--awh-text-light);
  border-color: var(--awh-border);
}

.awh-btn-back:hover { border-color: var(--awh-text-light); color: var(--awh-charcoal); }

/* ── Success ── */
.awh-success {
  text-align: center;
  padding: 40px 20px;
  animation: awh-fadeIn 0.5s ease;
}

.awh-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--awh-sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  animation: awh-pop 0.5s cubic-bezier(0.175,0.885,0.32,1.275) 0.2s both;
}

.awh-success-icon.awh-success-pending { background: var(--awh-honey); font-size: 28px; }

.awh-pending-banner {
  background: #FEF7EC;
  border: 2px solid #EFD9A8;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 8px 0 28px;
  text-align: center;
}

.awh-pending-banner strong {
  display: block;
  font-size: 1rem;
  color: #8A6B15;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.awh-pending-banner p {
  font-size: 0.88rem;
  color: #9A7B25;
  margin: 0;
  line-height: 1.5;
}

.awh-pending-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #D4A017;
  border-radius: 50%;
  margin-right: 6px;
  margin-bottom: 8px;
  animation: awh-pulse-dot 2s ease-in-out infinite;
}

@keyframes awh-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.awh-success-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--awh-border);
  border: 1px solid var(--awh-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

.awh-success-detail {
  background: #fff;
  padding: 14px 18px;
  text-align: left;
}

.awh-success-detail span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--awh-text-light);
  margin-bottom: 4px;
}

.awh-success-detail strong {
  font-size: 0.92rem;
  color: var(--awh-charcoal);
  font-weight: 500;
}

.awh-success-email {
  font-size: 0.85rem;
  color: var(--awh-text-light);
  line-height: 1.6;
}

@media (max-width: 480px) {
  .awh-success-summary { grid-template-columns: 1fr; }
}

@keyframes awh-pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.awh-success h2 {
  font-family: var(--awh-font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--awh-charcoal);
  margin-bottom: 12px;
}

.awh-success p {
  color: var(--awh-text-light);
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto 8px;
  line-height: 1.6;
}

/* ── Loading ── */
.awh-loading {
  text-align: center;
  padding: 40px;
  color: var(--awh-text-light);
}

.awh-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--awh-border);
  border-top-color: var(--awh-sage);
  border-radius: 50%;
  animation: awh-spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes awh-spin { to { transform: rotate(360deg); } }

/* ── Error ── */
/* ── Colour Processing Notes ── */
.awh-processing-note {
  font-size: 0.78rem;
  color: #1a56db;
  background: #E8F0FE;
  border: 1px solid #B8D0F0;
  border-radius: 4px;
  padding: 6px 10px;
  margin-top: 8px;
  line-height: 1.4;
}

.awh-summary-note {
  background: #E8F0FE;
  border: 1px solid #B8D0F0;
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #1a56db;
  line-height: 1.5;
  text-align: center;
}

.awh-error {
  background: #fce8e8;
  color: #b32d2e;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 0.88rem;
  margin-bottom: 16px;
  text-align: center;
  animation: awh-fadeIn 0.3s ease;
}
