:root {
  font-family: system-ui, sans-serif;
  color: #1d2b35;
  background: #edf4f4;
}
body {
  margin: 0;
  padding: 2rem;
}
.card {
  background: #fff;
  max-width: 680px;
  margin: auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 18px #19323c20;
}
h1 {
  margin-top: 0;
}
.language-switch {
  float: right;
  display: inline-flex;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid #cbd5d9;
  border-radius: 999px;
  background: #f5f9f9;
  box-shadow: inset 0 1px #fff;
}
.language-switch a {
  min-width: 2.4rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  color: #385460;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
}
.language-switch a:hover {
  background: #e1eeee;
}
.language-switch a[aria-current="page"] {
  background: #176b61;
  color: #fff;
  box-shadow: 0 1px 2px #19323c33;
}
.language-switch a:focus-visible {
  outline: 3px solid #71b8d5;
  outline-offset: 2px;
}
.notice {
  background: #edf8f6;
  padding: 0.8rem;
  border-left: 4px solid #277b70;
}
.errors {
  background: #fff0ef;
  border-left: 4px solid #b33;
  padding: 0.4rem 1rem;
}
label {
  display: block;
  font-weight: 600;
  margin-top: 1rem;
}
.booking-step + .booking-step {
  margin-top: 1.25rem;
}
input,
select,
button {
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  padding: 0.8rem;
  margin-top: 0.3rem;
  border: 1px solid #789;
  border-radius: 5px;
}
select {
  appearance: none;
  padding-right: 3rem;
  background: #f3f5f5
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%231d2b35' stroke-width='2'%3E%3Cpath d='m3 6 7 7 7-7'/%3E%3C/svg%3E")
    no-repeat right 1rem center;
  border-color: transparent;
  border-radius: 12px;
}
select:disabled {
  color: #61727a;
  cursor: not-allowed;
}
fieldset {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid #cbd5d9;
  border-radius: 5px;
}
button {
  background: #176b61;
  color: #fff;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}
button:disabled {
  background: #77918d;
  cursor: not-allowed;
}
.availability {
  margin-top: 1.5rem;
}
.availability-day {
  padding: 1.25rem 0;
  border-top: 1px solid #cbd5d9;
}
.availability-day:first-child {
  padding-top: 0;
  border-top: 0;
}
.availability-day h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  text-align: center;
}
.time-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.time-option,
.show-more-times {
  margin: 0;
  background: #f3f5f5;
  color: #1d2b35;
  font-weight: 600;
}
.time-option:hover {
  background: #e1eeee;
}
.time-option[aria-pressed="true"] {
  background: #176b61;
  color: #fff;
}
.show-more-times {
  background: #176b61;
  color: #fff;
}
#contact-step fieldset {
  margin-top: 1.5rem;
}
.privacy-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 1.25rem 0;
}
.privacy-consent input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.25rem 0 0;
}
.privacy-consent label {
  margin: 0;
  font-weight: 400;
}
.privacy-consent a {
  color: #176b61;
}
.cf-turnstile {
  margin-top: 1rem;
}
.turnstile-status {
  min-height: 1.5rem;
  margin: 0.5rem 0 0;
}
.book-another-appointment {
  display: inline-block;
  margin-top: 1rem;
  color: #385460;
  font-size: 0.9rem;
}
button:focus,
input:focus,
select:focus {
  outline: 3px solid #71b8d5;
  outline-offset: 2px;
}
@media (max-width: 500px) {
  body {
    padding: 1rem;
  }
  .card {
    padding: 1.25rem;
  }
  .time-options {
    grid-template-columns: 1fr;
  }
}
