/* PUBLAB 2027 — registration page.
   Generated from the design canvas (Register artboard) plus form states used by register.js. */

/* ---- from the canvas ---- */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.file-drop:hover{background:#E2EFEB !important}
.file-drop:has(+ input:focus-visible){outline:2px solid #1C5D5F;outline-offset:3px}
.field input:focus-visible,.field select:focus-visible,fieldset input[type=radio]:focus-visible{outline:2px solid #1C5D5F;outline-offset:2px}
.prefixed:focus-within{outline:2px solid #1C5D5F;outline-offset:2px}
.field .prefixed input:focus-visible{outline:none}
.submit-btn{transition:background-color .2s, transform .16s cubic-bezier(.23,1,.32,1)}
.submit-btn:hover{background:#2A7779 !important}
.submit-btn:active{transform:scale(.97)}

/* ---- form states ---- */
.field-error { margin: 8px 0 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: #B42318; }
.field-error::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M8 4.5v4.2M8 11v.5' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M8 4.5v4.2M8 11v.5' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-invalid > input, .is-invalid > .prefixed, .is-invalid > select { border-color: #B42318 !important; box-shadow: inset 0 0 0 1px #B42318; }
.is-invalid .file-drop { border-color: #B42318 !important; }
.is-invalid label:has(> input[type=radio]) { border-color: #B42318 !important; }
.file-drop.has-file { border-style: solid !important; background: #FFFFFF !important; }
label:has(> input[type=radio]:checked) { border-color: #1C5D5F !important; background: #EDF5F3 !important; box-shadow: inset 0 0 0 1px #1C5D5F; }
#reg-alert { padding: 16px 18px; border-radius: 8px; font-size: 15px; line-height: 1.5; }
#reg-alert[data-tone="info"] { background: #EDF5F3; border: 1px solid #BFDDD5; color: #10201E; }
#reg-alert[data-tone="error"] { background: #FEF3F2; border: 1px solid #F4C7C3; color: #7A271A; }
#reg-alert strong { display: block; margin-bottom: 2px; }
#reg-alert a { color: inherit; font-weight: 600; }
.submit-btn[aria-busy="true"] { cursor: progress; opacity: .8; }
#reg-success:focus { outline: none; }
