/* Appointment request form. Picks up the Implant Options theme fonts when present and stands alone otherwise. */
.ior-request{box-sizing:border-box;max-width:560px;padding:32px;background:#fff;border:1px solid #d7e1dc;border-radius:8px;color:#2e2823;font-family:var(--font-body,inherit);overflow:hidden}
.ior-request [hidden]{display:none!important}
/* Horizontal swipes belong to the form, so the browser does not treat them as its own back/forward gesture. */
.ior-request{touch-action:pan-y pinch-zoom}
.ior-request .ior-title{margin:0 0 6px;font:500 28px/1.2 var(--font-head,inherit)}
.ior-request .ior-visit{margin:0 0 4px;font-size:15px;font-weight:600;color:#0c7d6d}

/* Progress */
.ior-request .ior-progress{height:4px;margin-top:18px;border-radius:2px;background:#e7f6f3;overflow:hidden}
.ior-request .ior-progress span{display:block;height:100%;background:#0c7d6d;transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
.ior-request .ior-count{margin:8px 0 0;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#5f5a54}

/* One screen at a time; the incoming screen slides in from the side it was reached from. */
.ior-request .ior-steps{margin-top:18px}
.ior-request fieldset{border:0;padding:0;margin:0;min-width:0}
.ior-request legend{padding:0;margin-bottom:6px;font:500 24px/1.25 var(--font-head,inherit)}
.ior-request legend:focus{outline:none}
.ior-request .ior-from-right{animation:ior-from-right .28s cubic-bezier(.2,.7,.2,1)}
.ior-request .ior-from-left{animation:ior-from-left .28s cubic-bezier(.2,.7,.2,1)}
@keyframes ior-from-right{from{opacity:0;transform:translateX(56px)}to{opacity:1;transform:none}}
@keyframes ior-from-left{from{opacity:0;transform:translateX(-56px)}to{opacity:1;transform:none}}

/* Answers as large tap targets */
.ior-request .ior-options{display:grid;gap:10px;margin-top:16px}
.ior-request .ior-option{display:flex;align-items:center;gap:14px;min-height:56px;margin:0;padding:12px 16px;box-sizing:border-box;border:1px solid #bac9c3;border-radius:6px;background:#fff;font-size:16px;line-height:1.35;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:border-color .15s,background .15s}
.ior-request .ior-option input{flex:none;width:20px;height:20px;margin:0;accent-color:#0c7d6d}
.ior-request .ior-option:hover{border-color:#0c7d6d}
.ior-request .ior-option:has(input:checked){border-color:#0c7d6d;background:#e7f6f3;box-shadow:inset 0 0 0 1px #0c7d6d}
.ior-request .ior-option:has(input:focus-visible){outline:2px solid #0c7d6d;outline-offset:2px}

/* Text fields and menus */
.ior-request label{display:block;margin:14px 0 6px;font-size:14px}
.ior-request input[type=text],.ior-request input[type=tel],.ior-request input[type=email],.ior-request select{box-sizing:border-box;width:100%;min-height:48px;padding:12px;border:1px solid #bac9c3;border-radius:4px;background:#fff;color:#2e2823;font:16px/1.3 var(--font-body,inherit)}
.ior-request select:disabled{background:#f3f6f5;color:#5f5a54}
.ior-request :is(input[type=text],input[type=tel],input[type=email],select):focus-visible{outline:2px solid #0c7d6d;outline-offset:2px}
.ior-request [aria-invalid=true]{border-color:#a4281b}
.ior-request p{margin:10px 0 0;font-size:13px;line-height:1.5;color:#5f5a54}
.ior-request .ior-help{margin-top:4px;font-size:14px}
.ior-request .ior-error,.ior-request .ior-status.is-problem{color:#a4281b}
.ior-request .ior-error{margin-top:8px}
.ior-request .ior-status{min-height:1.5em;margin-top:14px;font-size:14px}
.ior-request .ior-checkbox{display:flex;gap:12px;align-items:flex-start;margin-top:18px;font-size:13px;line-height:1.5}
.ior-request .ior-checkbox input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:#0c7d6d}
.ior-request .ior-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Back on the left, the main action filling the rest */
.ior-request .ior-nav{display:flex;gap:12px;align-items:stretch;margin-top:6px}
.ior-request .ior-back{flex:none;min-height:55px;padding:0 18px;border:1px solid #bac9c3;border-radius:4px;background:#fff;color:#2e2823;font:500 14px/1 var(--font-body,inherit);cursor:pointer}
.ior-request .ior-back:hover{border-color:#2e2823}
.ior-request .ior-next,.ior-request .ior-submit{box-sizing:border-box;flex:1;margin:0;cursor:pointer}
.ior-request .ior-submit:disabled{opacity:.6;cursor:default}
.ior-request button:focus-visible{outline:2px solid #0c7d6d;outline-offset:2px}
/* Fallback button look for themes without a .button style; any theme rule overrides it. */
:where(.ior-request .ior-next,.ior-request .ior-submit){display:inline-flex;justify-content:space-between;align-items:center;gap:30px;min-height:55px;padding:17px 23px;border:1px solid #0c7d6d;border-radius:4px;background:#0c7d6d;color:#fff;font:600 14px/1.2 inherit}

.ior-request .ior-done:focus{outline:none}
.ior-request .ior-done h3{margin:0 0 8px;font:500 26px/1.2 var(--font-head,inherit)}
.ior-request .ior-done p{font-size:15px}
.ior-request .ior-done-slot{font-weight:600;color:#2e2823}
.ior-setup{padding:14px 18px;background:#fff0c8;color:#49391b;font-size:14px}
@media (max-width:600px){.ior-request{padding:22px 18px}.ior-request legend{font-size:22px}}
@media (prefers-reduced-motion:reduce){.ior-request .ior-from-right,.ior-request .ior-from-left{animation:none}.ior-request .ior-progress span,.ior-request .ior-option{transition:none}}
