/* Clinical Day 2027: the form kit and the registration pages. Loaded after site.css.
   The registration pages are "enclosed": one column, one left edge, no site menu.
   Selected and focus states are drawn on the element after each radio input, so nothing here needs :has(). */

.reg{background:#06192A}
.reg #page{background:#F8F7F4;color:#3B4B57;min-height:100vh;display:flex;flex-direction:column}
.reg-col{width:100%;max-width:calc(736px + 2*clamp(20px,4vw,56px));margin:0 auto;padding-left:clamp(20px,4vw,56px);padding-right:clamp(20px,4vw,56px)}

/* Header: the navy band meets the page on a hard line, as the homepage's bar does. */
.reg-header{background:#06192A;color:#C3CFD9}
.reg-bar{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;padding-top:20px;padding-bottom:20px}
.reg-bar .brand .seal{width:40px;height:40px}
.reg-bar .brand-name{font-size:28px}
.reg-help{font-size:15px;font-weight:600;text-align:right;line-height:1.4}
.reg-help a{color:#FFFFFF;font-weight:700;white-space:nowrap;text-decoration:none;border-bottom:1px solid rgba(227,201,139,.7);padding-bottom:1px}
.reg-help a:hover{color:#E3C98B}
.reg-header :focus-visible{outline-color:#E3C98B}
.reg-title{padding-top:clamp(16px,3.6vw,40px);padding-bottom:clamp(26px,4vw,44px)}
.reg-title h1{font-size:clamp(50px,8.4vw,88px);line-height:.94;letter-spacing:-.02em;color:#FFFFFF}
.reg-event{margin-top:18px;font-weight:700;font-size:13px;line-height:1.75;letter-spacing:.16em;text-transform:uppercase;color:#E3C98B}
.reg-event span{display:inline-block}
.reg-event .dot{padding:0 .5em}

.reg-main{flex:1 0 auto;padding-top:clamp(32px,5vw,52px);padding-bottom:clamp(64px,9vw,120px)}
.reg-main.light-zone{padding-bottom:clamp(64px,9vw,120px)}
.reg-form{margin:0}

/* Sections */
/* One quiet line above the first question while the early-bird draw is open. */
.reg-early{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 16px;margin:0 0 clamp(30px,5vw,40px);padding:0 0 16px;border-bottom:1px solid rgba(14,68,98,.18);font-size:17px;line-height:1.5}
.reg-early b{font-weight:700;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--label)}
.reg-sec{border:0;margin:0;padding:0;min-width:0}
.reg-sec + .reg-sec{margin-top:clamp(44px,6vw,60px)}
.reg-sec > legend{float:left;width:100%;margin:0 0 22px;padding:20px 0 0;border-top:1px solid #B08D3C;font-family:'Instrument Serif',serif;font-weight:400;font-size:clamp(31px,4.2vw,40px);line-height:1.1;color:#0E4462}
.reg-sec > legend + *{clear:both}
.reg-form > .reg-sec:first-of-type > legend{border-top:0;padding-top:0}
.reg-sec > legend:focus{outline:0}
.num{color:#7A5A12;margin-right:.4em}
.sec-error{margin:-8px 0 16px}

/* Seat: two cards that are radio buttons */
.seats{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.seat{position:relative;display:block;cursor:pointer}
.seat input,.opt input,.check input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.seat input{top:28px;right:34px}
.seat-card{position:relative;display:flex;flex-direction:column;gap:8px;height:100%;background:#FFFFFF;border:1px solid rgba(14,68,98,.3);padding:24px 64px 26px 24px;transition:border-color .15s,background-color .15s,box-shadow .15s}
.seat-card::after{content:"";position:absolute;top:22px;right:22px;width:26px;height:26px;border-radius:50%;border:1.5px solid #6B7B87;background:#FFFFFF;box-shadow:inset 0 0 0 5px #FFFFFF;transition:background-color .15s,border-color .15s}
.seat:hover .seat-card{border-color:#016BA9}
.seat input:checked + .seat-card{border-color:#016BA9;box-shadow:0 0 0 1px #016BA9;background:#F1F7FB}
.seat input:checked + .seat-card::after{border-color:#016BA9;background:#016BA9;box-shadow:inset 0 0 0 5px #FFFFFF}
.seat input:focus-visible + .seat-card{outline:3px solid #016BA9;outline-offset:3px}
.seat-name{font-family:'Instrument Serif',serif;font-size:clamp(36px,4.6vw,46px);line-height:1;color:#0E4462}
.seat-note{font-size:16.5px;line-height:1.5}
.seat .label{font-size:12.5px}

/* Which describes you: one box, four rows, the fee beside each */
.options{background:#FFFFFF;border:1px solid rgba(14,68,98,.3)}
.opt{position:relative;display:block;cursor:pointer}
.opt input{top:34px;left:30px}
.opt-row{position:relative;display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;column-gap:18px;min-height:76px;padding:16px 24px;transition:background-color .15s,box-shadow .15s}
.opt + .opt .opt-row{border-top:1px solid rgba(14,68,98,.16)}
.opt-row::before{content:"";width:26px;height:26px;border-radius:50%;border:1.5px solid #6B7B87;background:#FFFFFF;box-shadow:inset 0 0 0 5px #FFFFFF;transition:background-color .15s,border-color .15s}
.opt:hover .opt-row{background:#F7FAFC}
.opt input:checked + .opt-row{background:#F1F7FB;box-shadow:inset 3px 0 0 #016BA9}
.opt input:checked + .opt-row::before{border-color:#016BA9;background:#016BA9}
.opt input:focus-visible + .opt-row{outline:3px solid #016BA9;outline-offset:-3px}
.opt-name{display:block;font-weight:700;font-size:18px;line-height:1.3;color:#0E4462}
.opt-hint{display:block;margin-top:3px;font-size:16px;line-height:1.45}
.opt-fee{font-family:'Instrument Serif',serif;font-size:32px;line-height:1;color:#0E4462;text-align:right;white-space:nowrap}
.opt-fee .both{display:block;font-family:'Manrope','Helvetica Neue',Arial,sans-serif;font-weight:700;font-size:15px;line-height:1.5;color:#3B4B57}
.opt-fee .sep{display:none}

/* Guest code */
.code{margin-top:10px}
.link-btn{font:inherit;font-weight:700;font-size:16px;color:#016BA9;background:none;border:0;padding:12px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-align:left}
.link-btn:hover{color:#0E4462}
.code-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px;margin-top:6px}
.code-row .field{flex:1 1 220px;max-width:320px}
.code-row .btn{font-family:inherit;font-size:17px;line-height:1.3;cursor:pointer;min-height:56px;padding:0 30px;align-self:flex-start;margin-top:29px}
.guest-applied{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;background:#F1F7FB;border:1px solid #016BA9;box-shadow:inset 3px 0 0 #016BA9;padding:18px 24px}
.guest-applied .opt-fee{margin-left:auto}

/* Fields */
.fields{display:grid;grid-template-columns:1fr 1fr;gap:22px 16px}
.field{display:flex;flex-direction:column;gap:7px;min-width:0}
.field.wide{grid-column:1 / -1}
/* The question that follows from Profession sits under it. With JavaScript it shows only when it applies. */
.field.spec{grid-column:2}
.js .field.spec:not(.is-on){display:none}
.field label,.field .lab{font-weight:700;font-size:16px;line-height:1.35;color:#0E4462}
.optional{font-weight:500;color:#3B4B57}
.hint{font-size:16px;line-height:1.45}
.input{font:inherit;font-size:18px;line-height:1.3;color:#1F2D38;background-color:#FFFFFF;border:1.5px solid #6B7B87;border-radius:2px;padding:14px 16px;min-height:56px;width:100%;-webkit-appearance:none;appearance:none}
.input:focus-visible{outline:3px solid #016BA9;outline-offset:2px;border-color:#016BA9}
/* City and Specialty offer suggestions as you type; without this, Chrome draws a second arrow that makes them look like menus. */
.input[list]::-webkit-calendar-picker-indicator{display:none!important}
select.input{padding-right:46px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230E4462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 17px center;cursor:pointer}
textarea.input{min-height:92px;resize:vertical}
.has-error .input{border-color:#A1211A;box-shadow:0 0 0 1px #A1211A}
.err{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:15.5px;font-weight:600;line-height:1.4;color:#A1211A}
.err::before{content:"";flex:0 0 18px;height:18px;margin-top:2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23A1211A'/%3E%3Cpath d='M9 4.2v5.6' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='9' cy='13.1' r='1.2' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat}
.suggest{margin:0;font-size:15.5px;line-height:1.4}
.suggest .link-btn{padding:0;font-size:inherit}

.check{position:relative;display:block;cursor:pointer}
.check input{top:14px;left:12px}
.check-row{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:14px;align-items:start;padding:10px 0;font-weight:500;font-size:17px;line-height:1.5;color:#3B4B57}
.check-row::before{content:"";width:26px;height:26px;border-radius:2px;border:1.5px solid #6B7B87;background:#FFFFFF center/16px no-repeat}
.check input:checked + .check-row::before{border-color:#016BA9;background-color:#016BA9;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.2 3.2L13 4.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.check input:focus-visible + .check-row::before{outline:3px solid #016BA9;outline-offset:2px}

/* Total and the one button */
.reg-total{margin-top:clamp(40px,6vw,56px);border-top:1px solid #B08D3C;padding-top:22px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 32px;align-items:end}
.total-who{font-size:17px;line-height:1.55;font-weight:600;color:#0E4462}
.total-who .lines + .lines{font-weight:500;color:#3B4B57}
.total-who .lines{display:block}
.total-amt{text-align:right}
.total-amt .label{display:block;margin-bottom:6px}
.total-num{display:block;font-family:'Instrument Serif',serif;font-size:clamp(52px,8vw,68px);line-height:.9;color:#0E4462;white-space:nowrap}
.total-cur{font-family:'Manrope','Helvetica Neue',Arial,sans-serif;font-weight:700;font-size:14px;letter-spacing:.1em;color:#3B4B57;margin-left:.5em}
.reg-go{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:22px}
.reg-go .btn{font-family:inherit;font-size:18px;border:0;cursor:pointer;padding:18px 44px;min-width:310px;transition:background-color .15s}
.btn[disabled]{opacity:.65;cursor:default}
.reg-after{flex:1 1 250px;font-size:16px;line-height:1.5}
.reg-after svg{vertical-align:-3px;margin-right:6px}
.reg-privacy{margin-top:26px;font-size:15px;line-height:1.5}

/* Messages above the form */
.reg-alert{border:1.5px solid #A1211A;background:#FDF3F2;border-radius:2px;padding:16px 20px;margin:0 0 32px;color:#7A1712;font-weight:600;line-height:1.5}
.reg-alert:focus{outline:0}
.reg-alert ul{margin:8px 0 0;padding-left:20px;list-style:disc;font-weight:500}
.reg-alert a{color:#7A1712}
.reg-note{border:1px solid rgba(14,68,98,.3);box-shadow:inset 3px 0 0 #B08D3C;background:#FFFFFF;padding:16px 20px 16px 22px;margin:0 0 32px;line-height:1.5}
.test-banner{background:#E3C98B;color:#06192A;font-weight:700;font-size:14px;text-align:center;padding:8px 16px}

/* Confirmation */
.done-lead{font-family:'Instrument Serif',serif;font-size:clamp(28px,4vw,38px);line-height:1.18;color:#0E4462;text-wrap:balance}
.facts{margin:0;border-top:1px solid #B08D3C}
.facts > div{display:grid;grid-template-columns:minmax(120px,190px) minmax(0,1fr);gap:4px 24px;padding:16px 0;border-bottom:1px solid rgba(14,68,98,.18)}
.facts dt{font-weight:700;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#7A5A12;padding-top:6px}
.facts dd{margin:0;font-size:18px;line-height:1.5;color:#1F2D38}
.facts dd small{display:block;font-size:15.5px;color:#3B4B57}
.done-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:28px}
.done-actions .btn{font-family:inherit;font-size:17px;cursor:pointer;padding:15px 30px}
.done-actions .btn:not(.btn-outline){border:0}
.cal-links{margin-top:14px;font-size:16px;line-height:1.6}
.next{margin-top:clamp(40px,6vw,56px)}
.next h2{font-size:clamp(30px,4vw,38px);line-height:1.1;padding-top:20px;border-top:1px solid #B08D3C;margin-bottom:8px}
.next ol{counter-reset:n}
.next li{display:grid;grid-template-columns:minmax(120px,190px) minmax(0,1fr);gap:4px 24px;padding:14px 0;border-bottom:1px solid rgba(14,68,98,.18);font-size:17px;line-height:1.5}
.next li b{font-weight:700;color:#0E4462}
.done-help{margin-top:28px;font-size:16px}
.kiosk-next{margin-top:36px;display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px}
.kiosk-sent{margin-top:14px;font-size:19px;line-height:1.5}
.kiosk-sent + .kiosk-sent{margin-top:6px}
.share-row{margin-top:clamp(40px,6vw,56px);padding-top:20px;border-top:1px solid #B08D3C;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 28px}
.share-row h2{font-size:clamp(28px,3.6vw,34px);line-height:1.1}
.share-row p{flex:1 1 260px;font-size:16.5px;line-height:1.5}
.share-row .btn{font-family:inherit;font-size:16.5px;padding:13px 28px}
.kiosk-next .btn{font-family:inherit;font-size:20px;border:0;cursor:pointer;padding:22px 52px}

/* Slim footer for the enclosed pages */
.reg-footer{background:#06192A;color:#C3CFD9;font-size:15px;border-top:1px solid rgba(227,201,139,.28)}
.reg-footer .reg-col{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;padding-top:22px;padding-bottom:26px}
.reg-footer a{color:#FFFFFF}
.reg-footer a:hover{color:#E3C98B}
.reg-footer :focus-visible{outline-color:#E3C98B}

[hidden]{display:none!important}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

@media (max-width:620px){
  .seats{grid-template-columns:1fr;gap:12px}
  .fields{grid-template-columns:1fr}
  .field.spec{grid-column:auto}
  .opt-row{padding:16px 18px;column-gap:14px}
  .opt-fee.is-both{grid-column:2 / -1;grid-row:2;text-align:left;margin-top:6px}
  .opt-fee.is-both br{display:none}
  .opt-fee.is-both .sep{display:inline;padding:0 .35em 0 .1em}
  .steps-on   .opt input{left:24px}
  .seat-card{padding:20px 60px 22px 20px}
  .reg-total{grid-template-columns:1fr}
  .total-amt{text-align:left;display:flex;align-items:baseline;gap:14px;margin-top:10px}
  .total-amt .label{margin:0}
  .reg-go .btn{width:100%;min-width:0}
  .facts > div,.next li{grid-template-columns:1fr}
  .facts dt{padding-top:0}
  .reg-help span{display:block}
  .reg-event span{display:block}
  .reg-event .dot{display:none}
}
@media (max-width:400px){
  .opt-fee{font-size:28px}
  .opt-name{font-size:17px}
}
