@font-face {
  font-display: swap;
  font-family: "InterVariable";
  font-style: normal;
  font-weight: 100 900;
  src: url("/InterVariable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  --text-default: #111827;
  --text-subtle: #6b7280;
  --border-default: #eeeff2;
  --border-subtle: #f3f4f6;
  --border-active: #6b7280;
  --field-background: #f3f5f7;
  --focus-color: #3b82f6;
  --error-color: #dc2626;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
}

body {
  align-items: center;
  background: #fff;
  color: var(--text-default);
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

main {
  animation: fade-in 200ms ease-out;
  margin: 0 auto;
  max-width: 700px;
  padding: 32px 8px;
  width: 100%;
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  color: var(--text-default);
}

h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.75px;
  line-height: 1.2;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.36px;
  line-height: 1.25;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

.form-branding {
  align-items: flex-start;
  display: flex;
  margin-bottom: 16px;
}

.form-branding img {
  display: block;
  height: 32px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  outline: none;
  width: 100%;
}

.section-subheader {
  color: var(--text-subtle);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 20px;
  text-transform: uppercase;
}

.section-supporting-text {
  color: var(--text-default);
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 4px;
  line-height: 20px;
}

.section-description {
  white-space: pre-line;
}

.section-phone a {
  color: var(--brand-color, #2563eb);
  text-decoration: none;
}

.section-phone a:hover {
  text-decoration: underline;
}

.form-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-progress-track {
  appearance: none;
  background: #f3f4f6;
  border: 0;
  border-radius: 9999px;
  display: block;
  height: 6px;
  overflow: hidden;
  width: 100%;
}

.form-progress-track::-webkit-progress-bar {
  background: #f3f4f6;
  border-radius: inherit;
}

.form-progress-track::-webkit-progress-value {
  background: #000;
  border-radius: inherit;
  transition: width 300ms ease-out;
}

.form-progress-track::-moz-progress-bar {
  background: #000;
  border-radius: inherit;
  transition: width 300ms ease-out;
}

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
}

fieldset {
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.question-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.question-row-item {
  min-width: 0;
  width: 100%;
}

@media (min-width: 640px) {
  .question-row {
    align-items: flex-start;
    flex-direction: row;
  }

  .question-row-item {
    flex: 1 1 0;
  }
}

label,
legend {
  color: var(--text-default);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 0;
  white-space: pre-line;
}

.required-marker {
  color: #ef4444;
  margin-left: 2px;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea {
  background: var(--field-background);
  border: 0;
  border-radius: 8px;
  display: block;
  min-height: 36px;
  outline: none;
  padding: 4px 12px;
  width: 100%;
}

textarea {
  min-height: 104px;
  resize: none;
}

select[multiple] {
  min-height: 104px;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-subtle);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 2px var(--focus-color);
}

.help-text {
  color: var(--text-subtle);
  font-size: 14px;
  line-height: 20px;
  white-space: pre-line;
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.choice-option {
  cursor: pointer;
  display: block;
  position: relative;
}

.choice-option .choice-input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.choice-option > span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 8%), 0 0 0 1px rgb(15 23 42 / 2%);
  display: flex;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.16px;
  line-height: 1.375;
  min-height: 50px;
  padding: 8px 12px;
  text-align: left;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
}

.choice-option:hover > span {
  border-color: var(--border-active);
  box-shadow: 0 3px 10px rgb(15 23 42 / 12%);
}

.choice-option .choice-input:checked + span {
  background: color-mix(in srgb, var(--brand-color, #000) 10%, transparent);
  border-color: var(--brand-color, #000);
  box-shadow: 0 3px 10px rgb(15 23 42 / 12%);
}

.choice-option .choice-input:focus-visible + span {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
}

.multiple-choice-list {
  gap: 8px;
}

.multiple-choice-list .choice-option {
  align-items: flex-start;
  display: flex;
  gap: 8px;
}

.multiple-choice-list .choice-input {
  accent-color: var(--brand-color, #2563eb);
  flex: 0 0 auto;
  height: 16px;
  margin: 2px 0 0;
  opacity: 1;
  position: static;
  width: 16px;
}

.multiple-choice-list .choice-option > span {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: inline;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  min-height: 0;
  padding: 0;
}

.multiple-choice-list .choice-option:hover > span,
.multiple-choice-list .choice-input:checked + span {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.checkbox-option {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.checkbox-option input {
  accent-color: var(--brand-color, #2563eb);
  flex: 0 0 auto;
  height: 16px;
  margin: 2px 0 0;
  width: 16px;
}

.checkbox-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.section-back-form {
  display: none;
}

.form-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
  width: 100%;
}

.form-actions-with-back {
  justify-content: space-between;
}

.form-actions-with-back > :last-child {
  margin-left: auto;
}

button[type="submit"],
.button {
  align-items: center;
  background: #000;
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  justify-content: center;
  line-height: 24px;
  min-height: 36px;
  padding: 6px 24px;
  transition: background-color 150ms ease, opacity 150ms ease;
}

button[type="submit"]:hover,
.button:hover {
  background: #1f2937;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.secondary-button[type="submit"] {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  color: var(--text-default);
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  min-height: 42px;
  padding: 8px 16px;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.secondary-button[type="submit"]:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.secondary-button[type="submit"]:focus-visible {
  outline-color: #6b7280;
}

.booking-loading-spinner,
.button-loading-spinner {
  animation: button-spin 650ms linear infinite;
  border: 2px solid rgb(255 255 255 / 50%);
  border-radius: 50%;
  border-top-color: #fff;
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}

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

.form-errors,
.field-error {
  color: var(--error-color);
}

.form-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  padding: 16px;
}

.form-errors[hidden],
.field-error[hidden] {
  display: none;
}

.field-error {
  font-size: 14px;
  line-height: 20px;
}

.question:has(.field-error:not([hidden])) input:not([type="checkbox"]):not([type="radio"]),
.question:has(.field-error:not([hidden])) textarea,
.question:has(.field-error:not([hidden])) select {
  box-shadow: 0 0 0 2px rgb(220 38 38 / 35%);
}

.question:has(.field-error:not([hidden])) > label,
.question:has(.field-error:not([hidden])) > legend {
  color: var(--error-color);
}

.legal {
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 16px;
  margin-top: 32px;
  text-align: center;
}

.legal a {
  color: inherit;
  text-underline-offset: 2px;
}

main:has(.cover-page) {
  max-width: 760px;
  padding: 64px 24px;
}

.cover-page {
  align-items: center;
  gap: 24px;
  text-align: center;
}

.cover-page .section-subheader {
  max-width: 640px;
}

.cover-page h1 {
  font-size: 36px;
  letter-spacing: -1.4px;
  line-height: 1.05;
  max-width: 680px;
}

.cover-page .section-supporting-text {
  color: var(--text-subtle);
  font-size: 18px;
  line-height: 28px;
  max-width: 640px;
}

.cover-page form {
  align-items: center;
  width: 100%;
}

.cover-page .form-progress {
  max-width: 520px;
}

.cover-page .form-actions {
  justify-content: center;
  margin-top: 8px;
}

.cover-page button[type="submit"] {
  background: var(--brand-color, #000);
  border-radius: 12px;
  min-height: 48px;
  padding: 12px 28px;
}

main:has(.booking-commitment) {
  max-width: 760px;
  padding: 64px 16px;
}

.booking-commitment {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.booking-commitment-heading {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-commitment-heading > p {
  background: linear-gradient(86deg, #f97316 0%, #e11d48 21%, #7c3aed 66%, #6366f1 92%);
  background-clip: text;
  color: transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.booking-commitment h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.booking-commitment-copy {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  gap: 24px;
  line-height: 1.5;
  margin-top: 23px;
  max-width: 398px;
}

.booking-commitment form {
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  max-width: 288px;
  width: 100%;
}

.booking-commitment form button[type="submit"] {
  background: #111827;
  border-radius: 8px;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  width: 100%;
}

.booking-commitment form > p {
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 18px;
}

body:has(.booking-flow) {
  background: #f7f8fa;
  padding: 16px;
}

main:has(.booking-flow) {
  max-width: 920px;
  padding: 0;
}

main:has(.booking-flow) > .form-branding,
.booking-flow + .legal {
  display: none;
}

.booking-flow {
  outline: none;
}

.booking-card {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  display: flex;
  min-height: 602px;
  overflow: hidden;
  width: 100%;
}

.booking-sidebar {
  background: #fff;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex: 0 0 320px;
  flex-direction: column;
  min-height: 600px;
  overflow: hidden;
  padding: 32px;
}

.booking-event-title {
  color: var(--text-subtle);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.21px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.booking-sidebar h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.36px;
  line-height: 1.2;
}

.booking-duration-form {
  display: block;
}

.booking-duration-selector {
  position: relative;
  width: 100%;
}

.booking-duration-selector select {
  appearance: none;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  height: 33px;
  line-height: 20px;
  min-height: 33px;
  padding: 6px 36px 6px 12px;
}

.booking-duration-selector > span {
  color: var(--text-subtle);
  display: flex;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 8px;
}

.booking-duration-selector svg {
  height: 16px;
  width: 16px;
}

.booking-duration-form noscript button {
  margin-top: 8px;
}

.booking-calendar {
  margin-top: 28px;
  width: 100%;
}

.calendar-header {
  align-items: center;
  display: grid;
  font-size: 14px;
  grid-template-columns: 32px 1fr 32px;
  line-height: 20px;
  margin-bottom: 12px;
  text-align: center;
}

.booking-calendar-month[hidden],
.booking-day-column[hidden] {
  display: none;
}

.calendar-header > button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--text-subtle);
  display: flex;
  height: 32px;
  justify-content: center;
  padding: 8px;
  width: 32px;
}

.calendar-header > button:disabled {
  cursor: default;
  opacity: 0.35;
}

.calendar-header svg {
  height: 16px;
  width: 16px;
}

.calendar-header strong {
  font-weight: 600;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}

.calendar-weekdays {
  color: #8b93a2;
  font-size: 14px;
  font-weight: 600;
  line-height: 32px;
}

.calendar-grid {
  font-size: 14px;
  row-gap: 2px;
}

.calendar-day {
  align-items: center;
  color: #b0b5bf;
  display: flex;
  height: 32px;
  justify-content: center;
  justify-self: center;
  line-height: 32px;
  width: 32px;
}

.calendar-day.outside-month {
  color: #d0d4da;
}

.calendar-day.today {
  color: #8b8f98;
  font-weight: 600;
}

.calendar-day.available {
  background: #f3f4f6;
  border: 0;
  border-radius: 50%;
  color: #8b8f98;
  font-size: 14px;
  padding: 0;
}

.calendar-day.available:hover {
  background: #e5e7eb;
}

.calendar-day.selected,
.calendar-day.selected:hover {
  background: #111827;
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
}

.booking-timezone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 22px;
  position: relative;
}

.booking-timezone-label {
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.booking-timezone-selector {
  position: relative;
}

.booking-timezone-control {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: var(--text-default);
  display: flex;
  font-size: 14px;
  gap: 8px;
  height: 33px;
  line-height: 20px;
  padding: 6px 12px;
  text-align: left;
  width: 100%;
}

.booking-timezone-control:hover {
  background: #fff;
  border-color: #d1d5db;
}

.booking-timezone-globe,
.booking-timezone-chevron {
  color: var(--text-subtle);
  display: flex;
}

.booking-timezone-globe svg,
.booking-timezone-chevron svg {
  height: 16px;
  width: 16px;
}

.booking-timezone-chevron {
  margin-left: auto;
}

.booking-timezone-menu {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  bottom: 38px;
  box-shadow: 0 8px 24px rgb(15 23 42 / 14%);
  left: 0;
  max-height: 274px;
  overflow: hidden;
  position: absolute;
  width: 185px;
  z-index: 20;
}

.booking-timezone-menu[hidden] {
  display: none;
}

.booking-timezone-menu input {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  font-size: 14px;
  height: 33px;
  min-height: 33px;
  padding: 6px 10px;
}

.booking-timezone-menu input:focus {
  box-shadow: inset 0 0 0 2px var(--focus-color);
}

.booking-timezone-options {
  max-height: 240px;
  overflow-y: auto;
  padding: 4px 0;
}

.booking-timezone-option {
  background: #fff;
  border: 0;
  color: var(--text-default);
  display: block;
  font-size: 14px;
  line-height: 20px;
  min-height: 32px;
  overflow: hidden;
  padding: 6px 12px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.booking-timezone-option:hover,
.booking-timezone-option[aria-selected="true"] {
  background: #f3f4f6;
}

.booking-timezone-option[hidden] {
  display: none;
}

.booking-slots-panel {
  background: #fff;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 32px;
}

.booking-slots-panel > form {
  display: block;
}

.booking-day-columns {
  display: flex;
  gap: 32px;
  min-width: 0;
  width: 100%;
}

.booking-day-column {
  flex: 1 1 0;
  min-width: 0;
}

.booking-day-column h2 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 24px;
  margin-bottom: 12px;
}

.booking-day-column h2 strong {
  font-weight: 600;
  letter-spacing: -0.32px;
}

.booking-day-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-day-slots button[type="submit"] {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-default);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.21px;
  line-height: 1.3;
  min-height: 36px;
  padding: 8px 12px;
  white-space: nowrap;
  width: 100%;
}

.booking-day-slots button[type="submit"]:hover {
  background: #f9fafb;
  border-color: var(--border-active);
}

.booking-empty {
  color: var(--text-subtle);
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 16px;
  padding: 16px;
}

.booking-empty form {
  align-items: flex-start;
}

.booking-loading .booking-slots-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-loader-status {
  align-items: center;
  color: var(--text-subtle);
  display: flex;
  font-size: 14px;
  font-weight: 500;
  gap: 10px;
  min-height: 24px;
}

.booking-loader-spinner {
  animation: button-spin 700ms linear infinite;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  border-top-color: #111827;
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}

.booking-times-skeleton {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.booking-loader-column,
.booking-loader-slots {
  display: flex;
  flex-direction: column;
}

.booking-loader-column {
  gap: 12px;
}

.booking-loader-slots {
  gap: 8px;
}

.booking-loader-day {
  height: 24px;
  width: 64px;
}

.booking-loader-slot {
  height: 40px;
  width: 100%;
}

.booking-loader-bootstrap-form {
  display: none;
}

.booking-skeleton {
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  background: #e5e7eb;
  border-radius: 6px;
}

.booking-skeleton-short {
  height: 18px;
  width: 96px;
}

.booking-skeleton-title {
  height: 29px;
  margin-top: 8px;
  width: 150px;
}

.booking-skeleton-calendar {
  height: 260px;
  margin-top: 28px;
  width: 100%;
}

.booking-confirmation-card {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  margin: 0 auto;
  max-width: 520px;
  padding: 32px;
}

.booking-confirmation {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.booking-confirmation header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-confirmation header h1 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.32px;
  line-height: 24px;
}

.booking-confirmation header p {
  color: var(--text-subtle);
  font-size: 14px;
  line-height: 20px;
}

.booking-confirmation form {
  gap: 16px;
}

.booking-confirmation form > label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-confirmation-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.booking-modal-state {
  width: 100%;
}

.booking-modal-underlay > .booking-card {
  min-height: 602px;
}

.booking-modal-overlay {
  align-items: center;
  background: rgb(247 248 250 / 90%);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 16px;
  position: fixed;
  z-index: 50;
}

.booking-confirmation-modal {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgb(15 23 42 / 16%);
  max-height: calc(100vh - 32px);
  max-width: 446px;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  width: 100%;
}

.booking-modal-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--text-subtle);
  display: flex;
  height: 28px;
  justify-content: center;
  padding: 6px;
  position: absolute;
  right: 18px;
  top: 16px;
  width: 28px;
}

.booking-modal-close:hover {
  background: #f3f4f6;
  border-radius: 8px;
}

.booking-modal-close svg {
  height: 16px;
  width: 16px;
}

.booking-confirmation-form {
  gap: 24px;
}

.booking-confirmation-form header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 32px;
}

.booking-confirmation-form header h1 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.32px;
  line-height: 24px;
}

.booking-confirmation-form header p {
  align-items: center;
  color: #8b93a2;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  gap: 6px;
  letter-spacing: -0.21px;
  line-height: 1.3;
}

.booking-confirmation-form header svg {
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}

.booking-confirmation-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-confirmation-fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-confirmation-fields label > span {
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}

.booking-confirmation-fields input,
.booking-confirmation-fields textarea {
  background: #f8f9fa;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  min-height: 33px;
  padding: 6px 8px;
}

.booking-confirmation-fields textarea {
  min-height: 54px;
}

.booking-confirmation-fields input:focus,
.booking-confirmation-fields textarea:focus {
  border-color: #5b5ce2;
  box-shadow: none;
}

.booking-confirmation-form .booking-confirmation-actions {
  align-items: center;
  gap: 16px;
  margin-top: 0;
}

.booking-confirmation-form .booking-modal-cancel {
  background: transparent;
  border: 0;
  color: var(--text-subtle);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 4px;
}

.booking-confirmation-form .booking-modal-cancel:hover {
  color: var(--text-default);
}

.booking-confirmation-form button[type="submit"] {
  background: #111827;
  border-radius: 8px;
  font-size: 14px;
  gap: 8px;
  min-height: 32px;
  padding: 4px 12px;
}

.submission-complete {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-height: calc(100vh - 124px);
  outline: none;
  text-align: center;
}

.submission-complete::before {
  align-items: center;
  background: #16a34a;
  border-radius: 50%;
  color: #fff;
  content: "✓";
  display: flex;
  font-size: 24px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  margin-bottom: 8px;
  width: 48px;
}

.submission-complete h1 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.24px;
}

.submission-complete p {
  color: var(--text-subtle);
  font-size: 16px;
  line-height: 1.3;
  max-width: 600px;
}

.booking-complete {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  gap: 20px;
  margin: auto;
  max-width: 600px;
  min-height: 0;
  padding: 32px;
}

.booking-complete h1 + p {
  margin-top: -8px;
}

.booking-complete .booking-invite-sent,
.booking-complete .booking-confirmation-description {
  font-size: 14px;
  margin-top: -8px;
  white-space: pre-line;
}

.booking-confirmation-video {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

.booking-confirmation-video--short {
  aspect-ratio: 9 / 16;
  width: min(360px, calc(70dvh * 9 / 16), 100%);
}

.booking-confirmation-video iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

@keyframes skeleton-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .booking-card {
    flex-direction: column;
    min-height: 0;
  }

  .booking-sidebar {
    border-bottom: 1px solid var(--border-subtle);
    border-right: 0;
    flex-basis: auto;
    min-height: 0;
    padding: 24px;
    width: 100%;
  }

  .booking-slots-panel {
    padding: 24px;
  }

  .booking-day-columns {
    display: block;
  }

  .booking-times-skeleton {
    grid-template-columns: 1fr;
  }

  .booking-loader-column:nth-child(n + 2) {
    display: none;
  }

  .booking-card:not(.booking-calendar-ready) .booking-day-column:nth-child(n + 2) {
    display: none;
  }

  .booking-confirmation-card {
    padding: 24px;
  }
}

@media (min-width: 640px) {
  .cover-page h1 {
    font-size: 48px;
  }

  .cover-page .section-description {
    font-size: 20px;
    line-height: 32px;
  }
}

.booking-management-body {
  background: #f9fafb;
  font-family: "InterVariable", Inter, ui-sans-serif, system-ui, sans-serif;
}

.booking-management-main {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 920px;
  min-height: 100vh;
  padding: 48px 16px;
}

.booking-management-powered-by {
  align-items: center;
  color: var(--text-subtle);
  display: flex;
  flex-direction: row;
  font-size: 16px;
  font-weight: 500;
  gap: 10px;
  justify-content: center;
  letter-spacing: -0.32px;
  line-height: 24px;
  margin-top: 32px;
  text-decoration: none;
}

.booking-management-powered-by img {
  height: 20px;
  width: 20px;
}

.booking-business-logo {
  align-items: flex-start;
  display: flex;
  margin-bottom: 8px;
}

.booking-business-logo img {
  display: block;
  height: 32px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.booking-reschedule-modal .booking-confirmation-fields textarea {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  min-height: 104px;
  padding: 8px 12px;
}

.booking-reschedule-modal .booking-confirmation-fields textarea:focus {
  border-color: var(--border-active);
}

.booking-reschedule-modal .optional-marker {
  color: var(--text-subtle);
  font-weight: 400;
}

.booking-reschedule-modal .booking-confirmation-actions {
  gap: 8px;
}

.booking-reschedule-modal .booking-modal-cancel {
  background: transparent;
  color: var(--text-default);
}

.booking-management-inline-error,
.cancellation-error {
  border-radius: 6px;
  color: var(--error-color);
  padding: 12px;
}

.booking-management-inline-error p,
.cancellation-error p {
  font-size: 14px;
  font-weight: 500;
}

.cancellation-card,
.booking-management-confirmation-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  padding: 32px;
  width: 100%;
}

.cancellation-heading,
.cancellation-success-copy,
.booking-management-confirmation-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.cancellation-heading h1,
.cancellation-success-copy h1,
.cancellation-load-error h1,
.booking-management-confirmation-copy h1 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.cancellation-heading p,
.cancellation-success-copy p,
.cancellation-load-error > p,
.booking-management-confirmation-copy p {
  color: var(--text-subtle);
  font-size: 14px;
  line-height: 1.3;
}

.cancellation-form {
  gap: 24px;
  width: 100%;
}

.cancellation-form label {
  display: block;
  margin-bottom: -18px;
}

.cancellation-form label span {
  color: var(--text-subtle);
  font-weight: 400;
}

.cancellation-form textarea {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-size: 14px;
  min-height: 104px;
  padding: 8px 12px;
}

.cancellation-form textarea:focus {
  border-color: var(--border-active);
  box-shadow: none;
}

.cancellation-form > button[type="submit"] {
  align-self: center;
  background: #111827;
  font-size: 14px;
  min-height: 36px;
  padding: 6px 12px;
}

.cancellation-success-icon,
.cancellation-error-icon {
  align-items: center;
  display: flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.cancellation-success-icon {
  background: #5b55d8;
  border-radius: 50%;
  color: #fff;
}

.cancellation-success-icon svg {
  height: 24px;
  width: 24px;
}

.cancellation-error-icon {
  color: #ef4444;
}

.cancellation-error-icon svg {
  height: 32px;
  width: 32px;
}

.cancellation-canceled-time {
  text-decoration: line-through;
}

.cancellation-load-error {
  text-align: center;
}

.cancellation-loading {
  gap: 24px;
}

.cancellation-skeleton-heading,
.cancellation-skeleton-field {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cancellation-skeleton-heading {
  align-items: center;
  gap: 4px;
}

.cancellation-skeleton-heading .booking-skeleton:first-child {
  height: 20px;
  width: 75%;
}

.cancellation-skeleton-heading .booking-skeleton:last-child {
  height: 16px;
  width: 50%;
}

.cancellation-skeleton-field {
  gap: 6px;
}

.cancellation-skeleton-field .booking-skeleton:first-child {
  height: 16px;
  width: 160px;
}

.cancellation-skeleton-field .booking-skeleton:last-child {
  height: 96px;
  width: 100%;
}

.cancellation-skeleton-button {
  height: 40px;
  width: 100%;
}

.cancellation-loading form {
  display: none;
}

.booking-management-confirmation-card {
  gap: 20px;
}

.booking-management-status-icon {
  height: 48px;
  width: 48px;
}

.booking-management-confirmation-description {
  color: var(--text-subtle);
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  white-space: pre-line;
}

.booking-management-confirmation-video {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

.booking-management-confirmation-video--short {
  aspect-ratio: 9 / 16;
  width: min(360px, calc(70dvh * 9 / 16), 100%);
}

.booking-management-confirmation-video iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

@media (max-height: 750px) {
  .booking-confirmation-video--short,
  .booking-management-confirmation-video--short {
    width: min(225px, calc(60dvh * 9 / 16), 100%);
  }
}

@media (max-width: 767px) {
  .booking-management-main {
    justify-content: flex-start;
    padding: 48px 16px;
  }

  .cancellation-card,
  .booking-management-confirmation-card {
    padding: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
