/* HailCare: clinic screens. Keep this small; prefer the shared components in hailcare-ui.css. */

/* Post / edit shift: one readable column. */
.clinic-form { max-width: var(--form); }
.clinic-form .form { gap: var(--sp-5); }
.clinic-form .fieldset + .fieldset { margin-top: 0; }
/* The work-site checkbox, when it has an error, gets a danger-red ring like
   the text inputs (the focus ring still wins while it has focus). */
.clinic-form .check input[aria-invalid="true"]:not(:focus-visible) { outline: 2px solid var(--danger); outline-offset: 2px; border-radius: 4px; }

/* Required certifications on the shift form: a checklist, any one will do. */
.clinic-certs { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--sp-1); }
.clinic-certs > legend { padding: 0; margin-bottom: var(--sp-1); }
.clinic-certs__list { display: grid; margin-top: var(--sp-1); }
.clinic-certs__list > .check + .check { border-top: 1px solid var(--rule); }

/* The optional certifications fold away (most shifts need only the state
   certificate); open, the two groups keep the form's spacing. */
.form-more > summary { min-height: 44px; }
.form-more__body { display: grid; gap: var(--sp-5); padding-top: var(--sp-2); }

/* Pay type beside the pay amount: its radios sit side by side, so the row
   stays one line tall on a phone. */
.clinic-paytype__list { display: flex; flex-wrap: wrap; column-gap: var(--sp-6); }
/* "More details" on the shift form: everything optional, folded away. */
.form-all > .form-more__body { padding-top: var(--sp-3); }
