/* Appointment request page */
.plx-appointment-page {
  background:
    radial-gradient(circle at 86% 10%, rgba(90,62,102,.10), transparent 29%),
    linear-gradient(180deg, #fffdf9 0%, #fff 100%);
}

.plx-appointment-hero {
  padding: 50px 0 clamp(76px, 9vw, 126px);
}

.plx-appointment-layout {
  display: grid;
  /* In RTL this keeps the introduction on the right and the form on the left. */
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  grid-template-areas: "intro form";
  align-items: center;
  gap: clamp(38px, 6vw, 94px);
}

.plx-appointment-intro { grid-area: intro; min-width: 0; }
.plx-appointment-card { grid-area: form; min-width: 0; }

.plx-appointment-intro h1 {
  max-width: 760px;
  margin: 10px 0 20px;
  color: var(--plx-brand);
  font-size: clamp(2.25rem, 4.15vw, 4.3rem);
  line-height: 1.34;
  font-weight: 600;
}

.plx-appointment-lead {
  max-width: 670px;
  margin: 0;
  color: #334e68;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 2;
}
.plx-appointment-lead > p { margin: 0; }

.plx-appointment-hours {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 510px;
  margin: 30px 0 15px;
  padding: 16px 18px;
  border: 1px solid rgba(90,62,102,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 16px 34px rgba(31,41,55,.045);
}

.plx-appointment-hours-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--plx-accent);
  background: rgba(90,62,102,.09);
}

.plx-appointment-hours-icon svg { width: 23px; height: 23px; }

.plx-appointment-hours strong,
.plx-appointment-hours span { display: block; }

.plx-appointment-hours strong {
  color: var(--plx-brand);
  font-size: .95rem;
  line-height: 1.45;
}

.plx-appointment-hours div > span {
  margin-top: 3px;
  color: var(--plx-text);
  font-size: .94rem;
  line-height: 1.7;
}

.plx-appointment-note {
  max-width: 620px;
  margin: 0;
  color: var(--plx-muted);
  font-size: .92rem;
  line-height: 1.9;
}
.plx-appointment-note > p { margin: 0; }

.plx-appointment-card {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(231,222,210,.96);
  border-radius: 26px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 28px 70px rgba(31,41,55,.085);
}

.plx-appointment-card-head { margin-bottom: 25px; }

.plx-appointment-card-head h2 {
  margin: 0 0 8px;
  color: var(--plx-brand);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.5;
  font-weight: 650;
}

.plx-appointment-card-head p {
  margin: 0;
  color: var(--plx-muted);
  font-size: .94rem;
  line-height: 1.85;
}

.plx-appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.plx-appointment-form-field,
.plx-appointment-form-field--wide { min-width: 0; }
.plx-appointment-form-field--wide { grid-column: 1 / -1; }

.plx-appointment-form-field label,
.plx-appointment-consent {
  display: block;
  margin-block-end: 8px;
  color: var(--plx-brand);
  font-size: .94rem;
  font-weight: 650;
}

.plx-appointment-form-field label span { color: var(--plx-accent); }

.plx-appointment-form-field input,
.plx-appointment-form-field textarea {
  width: 100%;
  border: 1px solid rgba(112,91,120,.20);
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  color: var(--plx-brand);
  font: inherit;
  line-height: 1.75;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.plx-appointment-form-field input {
  min-height: 52px;
  padding: 10px 14px;
}

.plx-appointment-form-field textarea {
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

.plx-appointment-form-field input:focus,
.plx-appointment-form-field textarea:focus {
  border-color: var(--plx-accent);
  box-shadow: 0 0 0 4px rgba(90,62,102,.10);
  background: #fff;
}

.plx-appointment-form-field.has-error input,
.plx-appointment-form-field.has-error textarea {
  border-color: rgba(148,57,57,.62);
  box-shadow: 0 0 0 4px rgba(148,57,57,.08);
}

.plx-appointment-form-error {
  margin: 7px 0 0;
  color: #a13b3b;
  font-size: .84rem;
  font-weight: 550;
  line-height: 1.7;
}

.plx-appointment-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 0;
  color: var(--plx-text);
  font-size: .91rem;
  font-weight: 500;
  line-height: 1.85;
  cursor: pointer;
}

.plx-appointment-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 5px 0 0;
  accent-color: var(--plx-accent);
}

.plx-appointment-consent.has-error {
  padding: 10px 12px;
  border: 1px solid rgba(148,57,57,.42);
  border-radius: 12px;
  background: rgba(148,57,57,.045);
}

.plx-appointment-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block-start: 4px;
}

.plx-appointment-form-footer p {
  max-width: 430px;
  margin: 0;
  color: var(--plx-muted);
  font-size: .84rem;
  line-height: 1.9;
}

.plx-appointment-submit {
  flex: 0 0 auto;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

.plx-appointment-form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  .plx-appointment-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "form";
    gap: 38px;
  }

  .plx-appointment-intro h1,
  .plx-appointment-lead,
  .plx-appointment-note { max-width: none; }
}

@media (max-width: 720px) {
  .plx-appointment-hero { padding: 52px 0 66px; }
  .plx-appointment-intro h1 { font-size: clamp(2rem, 10vw, 2.8rem); line-height: 1.42; }
  .plx-appointment-card { padding: 22px 18px; border-radius: var(--plx-radius-md); }
  .plx-appointment-form { grid-template-columns: 1fr; gap: 15px; }
  .plx-appointment-form-footer { align-items: stretch; flex-direction: column; }
  .plx-appointment-form-footer .plx-btn { width: 100%; justify-content: center; }
}
