/* Form fields in the cream design, shared by the sign-in pages and the contact page. Loads after home-v1.css. */
.note-err, .note-ok { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; margin-bottom: 18px; line-height: 1.45; }
.note-err { background: rgba(217, 102, 74, .1); color: #b04a30; }
.note-ok { background: var(--lime-2); color: var(--ink); outline: none; }
.note-ok a { text-decoration: underline; word-break: break-all; }
.or { display: flex; align-items: center; gap: 14px; margin: 22px 0; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { display: grid; gap: 8px; }
.field > span:first-child { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; }
.field-link { font-size: 13px; font-weight: 600; color: #52701e; text-decoration: underline; text-underline-offset: 3px; }
.field-opt { font-style: normal; font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 16px; color: inherit; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { height: auto; min-height: 150px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #c5c7ba; }
.field input:focus, .field textarea:focus { background: var(--white); border-color: #52701e; box-shadow: 0 0 0 4px rgba(82, 112, 30, .16); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(217, 102, 74, .15); }
.field input::placeholder, .field textarea::placeholder { color: #9aa196; }
.pw { position: relative; display: block; }
.pw input { padding-right: 76px; }
.pw-toggle { position: absolute; right: 8px; top: 10px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); transition: background .15s, color .15s; }
.pw-toggle:hover { background: var(--paper-2); color: var(--ink); }
/* Honeypot: off screen, not hidden, so bots fill it. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-dark[disabled] { cursor: wait; opacity: .8; min-width: 160px; }
.spin { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .3); border-top-color: var(--white); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
