/*
 * Booking page skin.
 *
 * booking.css is theme-neutral so the plugin can move between sites. This file
 * only applies on the Framework booking page and aligns the widget with the
 * Elementor header directly above it: navy #101c32, blue #245eea, Plus Jakarta
 * Sans, 20px card radius.
 */
.fwb-booking-page .fwb {
  --fwb-ink: #101c32;
  --fwb-blue: #245eea;
  --fwb-line: #e2e8f0;
  --fwb-muted: #64748b;
  display: block;
  max-width: 1060px;
  margin: 0 auto;
  padding: 56px 24px 84px;
  color: var(--fwb-ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

/* The page header above already carries the eyebrow, headline and benefits. */
.fwb-booking-page .fwb .fwb-intro { display: none; }

.fwb-booking-page .fwb-card {
  background: #fff;
  border: 1px solid var(--fwb-line);
  border-radius: 20px;
  padding: 40px 44px;
  box-shadow: 0 24px 60px rgba(16, 28, 50, 0.07);
}

.fwb-booking-page .fwb fieldset {
  border-bottom: 1px solid var(--fwb-line);
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.fwb-booking-page .fwb fieldset:last-of-type { border-bottom: 0; }

.fwb-booking-page .fwb legend {
  padding: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fwb-ink);
}

.fwb-booking-page .fwb legend span {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  background: #eaf1ff;
  color: var(--fwb-blue);
  font-size: 12px;
  font-weight: 800;
}

.fwb-booking-page .fwb label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1e293b;
}

.fwb-booking-page .fwb input:not([type=checkbox]):not([type=radio]),
.fwb-booking-page .fwb select,
.fwb-booking-page .fwb textarea {
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background-color: #fff;
  color: var(--fwb-ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fwb-booking-page .fwb select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  appearance: none;
}

.fwb-booking-page .fwb input:focus,
.fwb-booking-page .fwb select:focus,
.fwb-booking-page .fwb textarea:focus {
  border-color: var(--fwb-blue);
  box-shadow: 0 0 0 4px rgba(36, 94, 234, 0.12);
  outline: 0;
}

.fwb-booking-page .fwb select:disabled { background-color: #f1f5f9; color: #94a3b8; }

.fwb-booking-page .fwb-summary {
  background: #f1f5fd;
  border: 1px solid #e3ebfa;
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 22px;
  align-items: center;
}

.fwb-booking-page .fwb-summary strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fwb-ink);
}

.fwb-booking-page .fwb [data-duration] {
  font-size: 14px;
  font-weight: 700;
  color: var(--fwb-blue);
  background: #fff;
  border-radius: 999px;
  padding: 5px 14px;
}

.fwb-booking-page .fwb .fwb-muted { color: var(--fwb-muted); font-size: 13px; }

.fwb-booking-page .fwb-payment {
  background: #f5f8fc;
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 14px;
  color: #334155;
}

.fwb-booking-page .fwb-payment strong { display: block; font-size: 15px; color: var(--fwb-ink); }

.fwb-booking-page .fwb-consent { font-size: 14px; font-weight: 500; color: #334155; line-height: 1.6; }

.fwb-booking-page .fwb button[type=submit] {
  width: 100%;
  max-width: 320px;
  min-height: 56px;
  margin-top: 8px;
  border-radius: 10px;
  background: var(--fwb-blue);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(36, 94, 234, 0.24);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.fwb-booking-page .fwb button[type=submit]:hover {
  background: #1f4fd0;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(36, 94, 234, 0.3);
}

.fwb-booking-page .fwb button[type=submit]:disabled {
  transform: none;
  box-shadow: none;
  cursor: wait;
}

.fwb-booking-page .fwb .fwb-addon {
  border: 1px solid var(--fwb-line);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  background: #fbfdff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fwb-booking-page .fwb .fwb-addon:hover { border-color: #bfd0ee; background: #f5f9ff; }

.fwb-booking-page .fwb .fwb-addon input[type=checkbox] { accent-color: var(--fwb-blue); }

.fwb-booking-page .fwb [data-status]:not(:empty),
.fwb-booking-page .fwb [data-slots-status]:not(:empty) {
  background: #eef4ff;
  border-left: 3px solid var(--fwb-blue);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  font-size: 14px;
  color: #1e293b;
}

.fwb-booking-page .fwb [data-confirmation] {
  border: 1px solid #d9e6fb;
  border-left: 4px solid var(--fwb-blue);
  background: #f7faff;
  border-radius: 0 14px 14px 0;
  padding: 26px 30px;
}

.fwb-booking-page .fwb [data-confirmation] h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.fwb-booking-page .fwb-commercial {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px 64px;
  color: var(--fwb-muted);
  font-size: 14px;
}

.fwb-booking-page .fwb-commercial a { color: var(--fwb-blue); font-weight: 700; }

@media (max-width: 767px) {
  .fwb-booking-page .fwb { padding: 36px 20px 56px; }
  .fwb-booking-page .fwb-card { padding: 26px 20px; border-radius: 16px; }
  .fwb-booking-page .fwb legend { font-size: 18px; }
  .fwb-booking-page .fwb button[type=submit] { max-width: 100%; }
  .fwb-booking-page .fwb-commercial { padding: 0 20px 48px; }
}

/* ------------------------------------------------------- date picker --- */
.fwb-booking-page .fwb-picker {
  display: grid;
  grid-template-columns: minmax(300px, 360px) 1fr;
  gap: 28px;
  margin-top: 18px;
  align-items: start;
}

.fwb-booking-page .fwb-cal {
  border: 1px solid var(--fwb-line);
  border-radius: 16px;
  padding: 18px 18px 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 28, 50, 0.05);
}

.fwb-booking-page .fwb-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.fwb-booking-page .fwb-cal-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  flex: 1;
}

.fwb-booking-page .fwb-cal-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--fwb-line);
  border-radius: 9px;
  background: #fff;
  color: var(--fwb-ink);
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.fwb-booking-page .fwb-cal-nav:hover:not(:disabled) { border-color: var(--fwb-blue); color: var(--fwb-blue); background: #f5f9ff; }
.fwb-booking-page .fwb-cal-nav:disabled { opacity: 0.35; cursor: default; }

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

.fwb-booking-page .fwb-cal-dow span {
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

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

.fwb-booking-page .fwb-cal-blank { height: 38px; }

.fwb-booking-page .fwb-day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  min-height: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #1e293b;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.fwb-booking-page .fwb-day.is-open { background: #eef4ff; color: #1d4ed8; font-weight: 700; }
.fwb-booking-page .fwb-day.is-open:hover { background: #dbe7ff; }

.fwb-booking-page .fwb-day.is-few { background: #fff7e8; color: #b45309; font-weight: 700; }
.fwb-booking-page .fwb-day.is-few:hover { background: #ffedcc; }

.fwb-booking-page .fwb-day.is-off { color: #cbd5e1; background: transparent; cursor: not-allowed; }

.fwb-booking-page .fwb-day.is-selected {
  background: var(--fwb-blue);
  color: #fff;
  border-color: var(--fwb-blue);
  box-shadow: 0 6px 16px rgba(36, 94, 234, 0.3);
}

.fwb-booking-page .fwb-day.is-selected::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.fwb-booking-page .fwb-cal-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--fwb-line);
  font-size: 11px;
  font-weight: 600;
  color: var(--fwb-muted);
}

.fwb-booking-page .fwb-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  margin-right: 5px;
}

.fwb-booking-page .fwb-key.is-few { background: #fff7e8; border-color: #f2d3a0; }
.fwb-booking-page .fwb-key.is-off { background: #f1f5f9; border-color: #e2e8f0; }

/* -------------------------------------------------------------- times --- */
.fwb-booking-page .fwb-times-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--fwb-ink);
}

.fwb-booking-page .fwb-slot-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}

.fwb-booking-page .fwb-slot {
  padding: 11px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #1e293b;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.fwb-booking-page .fwb-slot:hover { border-color: var(--fwb-blue); color: var(--fwb-blue); background: #f5f9ff; }

.fwb-booking-page .fwb-slot.is-selected {
  background: var(--fwb-blue);
  border-color: var(--fwb-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(36, 94, 234, 0.25);
}

@media (max-width: 860px) {
  .fwb-booking-page .fwb-picker { grid-template-columns: 1fr; gap: 22px; }
  .fwb-booking-page .fwb-slot-list { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
}

/* ------------------------------------------------------ confirmation --- */
.fwb-booking-page .fwb [data-confirmation] {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.fwb-booking-page .fwb-done {
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 58%);
  border: 1px solid #dbe8fb;
  border-radius: 20px;
  padding: 40px 40px 32px;
  box-shadow: 0 18px 50px rgba(16, 28, 50, 0.07);
}

.fwb-booking-page .fwb-done-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e3f6e9;
  color: #157a3c;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(21, 122, 60, 0.16);
}

.fwb-booking-page .fwb-done-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fwb-blue);
}

.fwb-booking-page .fwb-done h3 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fwb-ink);
  line-height: 1.15;
}

.fwb-booking-page .fwb-done-lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  max-width: 52ch;
}

.fwb-booking-page .fwb-done-ref {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px dashed #b9cdf0;
  border-radius: 999px;
  padding: 7px 16px 7px 14px;
  margin-bottom: 26px;
  font-size: 13px;
}

.fwb-booking-page .fwb-done-ref-label {
  color: var(--fwb-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fwb-booking-page .fwb-done-ref strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--fwb-ink);
  font-variant-numeric: tabular-nums;
}

.fwb-booking-page .fwb-done-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0 0 26px;
  background: #e6eef9;
  border: 1px solid #e6eef9;
  border-radius: 14px;
  overflow: hidden;
}

.fwb-booking-page .fwb-done-cell {
  background: #fff;
  padding: 16px 20px;
}

.fwb-booking-page .fwb-done-cell dt {
  margin: 0 0 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.fwb-booking-page .fwb-done-cell dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--fwb-ink);
  line-height: 1.45;
}

.fwb-booking-page .fwb-done-next {
  background: #f8fafc;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  padding: 20px 24px;
}

.fwb-booking-page .fwb-done-next h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--fwb-ink);
}

.fwb-booking-page .fwb-done-next ol {
  margin: 0;
  padding-left: 20px;
  counter-reset: step;
  list-style: none;
}

.fwb-booking-page .fwb-done-next li {
  position: relative;
  counter-increment: step;
  margin: 0 0 9px;
  padding-left: 2px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
}

.fwb-booking-page .fwb-done-next li::before {
  content: counter(step);
  position: absolute;
  left: -20px;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e8f0fd;
  color: var(--fwb-blue);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fwb-booking-page .fwb-done-note {
  margin: 20px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #64748b;
}

.fwb-booking-page .fwb-done-alert {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff5e6;
  border: 1px solid #f3d5a3;
  font-size: 12.5px;
  color: #8a5a12;
}

@media (max-width: 640px) {
  .fwb-booking-page .fwb-done { padding: 28px 22px 24px; border-radius: 16px; }
  .fwb-booking-page .fwb-done h3 { font-size: 24px; }
  .fwb-booking-page .fwb-done-grid { grid-template-columns: 1fr; }
  .fwb-booking-page .fwb-done-next { padding: 18px 18px 8px; }
}
