/* Appointment form. */

.form { margin-top: 32px; display: grid; gap: 36px; }
.form fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.form legend { padding: 0; margin-bottom: 16px; font-size: 1.35rem; font-weight: 800; font-stretch: 112%; }
.field { display: grid; gap: 6px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; }
.field small { font-weight: 400; color: var(--soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 2px solid #7e959b; border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; }
.field textarea { resize: vertical; }
.field [aria-invalid] { border-color: var(--error); }
.hint { font-size: .9375rem; color: var(--soft); }
.error { font-weight: 700; color: var(--error); }
.form-alert { margin-top: 24px; padding: 14px 18px; background: #fdecea; color: #7d1a14; font-weight: 700; border-radius: 6px; }
.form .btn { justify-self: start; }
.trap { position: absolute; left: -9999px; }

/* Feedback form: five stars, chosen like radio buttons. */
.stars-pick legend { font-size: 1.35rem; font-weight: 800; font-stretch: 112%; margin-bottom: 8px; }
.stars-row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-row label { font-size: 2.6rem; line-height: 1; padding: 4px; color: var(--line); cursor: pointer; transition: color .1s; }
.stars-row input:checked ~ label, .stars-row label:hover, .stars-row label:hover ~ label { color: var(--red); }
.stars-row input:focus-visible + label { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.check-line { display: flex; gap: 10px; align-items: center; font-weight: 400; margin-bottom: 10px; }
.check-line input { width: 22px; height: 22px; min-height: 0; accent-color: var(--blue); }
