:root {
  color: #222b32;
  background: #f4f6f6;
  font: 1rem/1.5 Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }

.booking-account {
  max-width: 37rem;
  margin: auto;
  padding: clamp(1.25rem, 6vw, 3.5rem) 1rem;
}

.booking-account-home,
.booking-account-back {
  color: #405f65;
  font-weight: 650;
  text-underline-offset: .18em;
}

.booking-account h1 {
  margin: .75rem 0 1rem;
  font-size: clamp(1.65rem, 6vw, 2.25rem);
  line-height: 1.15;
  text-wrap: balance;
}

.booking-account-card {
  padding: clamp(1rem, 5vw, 1.75rem);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1px 8px rgb(34 43 50 / 6%);
}

.booking-account-card h2 { margin: 0 0 .5rem; }
.booking-account-card p { margin: 0 0 .85rem; text-wrap: pretty; }
.booking-account-card p:last-child { margin-bottom: 0; }
.booking-account-card .booking-account-error { color: #8a352f; }
.booking-account-card label { display: block; margin: .65rem 0 1rem; font-weight: 600; }
.booking-account-card small { display: block; margin-top: .25rem; font-weight: 400; }

.booking-account-card input:not([type=hidden]) {
  display: block;
  width: 100%;
  margin-top: .3rem;
  padding: .7rem .8rem;
  border: 1px solid #c6d5d8;
  border-radius: .75rem;
  font: inherit;
}

.booking-account-card button {
  min-height: 44px;
  padding: .6rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: #4a6d70;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}

.booking-account :focus-visible { outline: 2px solid #4a6d70; outline-offset: 3px; }
.booking-account-back { display: inline-block; margin-top: 1rem; }
