/* Link360 additions on top of the family login.css */
h1.title{margin:0}
p.sub{margin-top:5px}
.err{font-size:13px;padding:10px 13px;border-radius:11px;margin-bottom:16px;display:flex;gap:9px;align-items:flex-start;line-height:1.45;background:rgba(210,59,71,.12);border:1px solid rgba(210,59,71,.4);color:#ff9ba3}
:root:not([data-theme="dark"]) .err{color:#b4232f}
.err svg{width:16px;height:16px;flex:none;margin-top:1px}
.field-error{display:block;margin-top:6px;font-size:12px;font-weight:600;color:#ff9ba3}
.field-error:empty{display:none}
:root:not([data-theme="dark"]) .field-error{color:#b4232f}
.inp input.input-validation-error{border-color:rgba(232,72,95,.7)}
a.btn{text-decoration:none}
.btn-p{margin-top:6px}
.hint{margin:18px 0 0;text-align:center;font-size:12.5px;color:var(--muted)}
.card>form{display:block}

/* Hero brand loop (replaces the old demo score) */
.ring-wrap .loop-mark{width:64px;height:64px;color:#fff;filter:drop-shadow(0 0 14px rgba(53,214,230,.45))}
.ring-wrap .cap{text-align:center;line-height:1.5;margin-top:10px}

/* Long forms (first-run setup): the page scrolls, the hero stays put */
@media (min-width:1041px){
  body.tall{overflow:auto}
  body.tall .hero{position:sticky;top:0;height:100vh;align-self:start}
  body.tall .auth{min-height:100vh}
  body.tall .card{margin:28px 0}
}
.card.wide{max-width:460px}

/* Inline links and helper rows */
.label-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:7px}
.label-row>label{font-size:12.5px;font-weight:600}
.label-row .link{font-size:12.5px}
.hint .link{font-size:12.5px}
.field-note{display:block;margin-top:6px;font-size:12px;color:var(--muted);line-height:1.45}
.field-note code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11.5px;padding:1px 5px;border-radius:6px;background:var(--sub);border:1px solid var(--line)}
.inp input.plain{padding-left:16px}
.optional{font-weight:500;color:var(--muted)}

/* Notice boxes: neutral (info) and success (ok) */
.notice{display:flex;gap:11px;align-items:flex-start;font-size:13px;line-height:1.5;padding:12px 14px;border-radius:12px;margin-bottom:18px;
  background:rgba(45,139,255,.1);border:1px solid rgba(45,139,255,.32);color:var(--text)}
.notice svg{width:18px;height:18px;flex:none;margin-top:1px;color:var(--blue2)}
.notice b{font-weight:700}
.notice a{color:var(--blue2);font-weight:700;text-decoration:none;white-space:nowrap}
.notice a:hover{text-decoration:underline}
.notice.ok{background:rgba(55,224,160,.1);border-color:rgba(55,224,160,.38)}
.notice.ok svg{color:#22b884}

/* Setup sections */
.form-step{display:flex;align-items:center;gap:10px;margin:22px 0 14px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.form-step:first-of-type{margin-top:4px}
.form-step .num{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:11px;letter-spacing:0;color:#fff;background:linear-gradient(135deg,var(--blue),var(--blue2))}
.form-step::after{content:"";flex:1;height:1px;background:var(--line)}
.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
@media (max-width:440px){.field-pair{grid-template-columns:1fr}}
.prefix-inp{position:relative}
.prefix-inp .prefix{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:13.5px;color:var(--muted);pointer-events:none}
.prefix-inp input{padding-left:var(--prefix-w,74px)!important}

/* Success / sent states */
.state-icon{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;margin-bottom:18px;color:#fff;
  background:linear-gradient(135deg,var(--blue),var(--cyan));box-shadow:0 16px 30px -14px rgba(45,139,255,.8)}
.state-icon svg{width:26px;height:26px}
