a.appointment-cta,
button.appointment-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.25rem;
  border: 2px solid #fff;
  border-radius: .5rem;
  background: #a6192e;
  color: #fff;
  font: 800 1rem/1.35 Montserrat, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

a.appointment-cta:hover,
button.appointment-cta:hover {
  background: #801326;
  color: #fff;
}

.appointment-cta:focus-visible,
.appointment-page :is(input, select, textarea, a):focus-visible {
  outline: 3px solid #2479bb;
  outline-offset: 3px;
}

.appointment-buyer-action { margin-top: 1.5rem; }

section.appointment-page {
  width: min(100%, 54rem);
  margin: auto;
  padding: clamp(1rem, 5vw, 3rem);
  color: #0c2749;
}

.appointment-page h1 {
  margin: 1rem 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.07;
}

.appointment-page p { font-size: 1rem; }
.appointment-page a { text-decoration: underline; }
.appointment-page form {
  margin-top: 1.5rem;
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid #8c9bad;
  border-radius: .75rem;
  background: #fff;
  color: #0c2749;
}

.appointment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
}

.appointment-grid div:has(textarea) { grid-column: 1 / -1; }
.appointment-page label {
  display: block;
  margin-bottom: .35rem;
  font-size: 1rem;
  font-weight: 700;
}
.appointment-page label span { font-weight: 400; }

.appointment-grid :is(input, select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: .65rem;
  border: 1px solid #677b91;
  border-radius: .3rem;
  background: #fff;
  color: #0c2749;
  font: inherit;
  font-size: 1rem;
}

.appointment-grid textarea { resize: vertical; }
.appointment-page .appointment-consent {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin: 1.35rem 0;
}
.appointment-consent input { margin: .3rem 0 0; }
.appointment-cta:disabled { opacity: .75; cursor: default; }
#appointment-status { margin-top: 1rem; }
