/* Auth pages (login, registration, recovery, messages, legal): tavole 01-02 / 01-03, same tokens as the app. */
body { min-height: 100vh; display: flex; flex-direction: column; }
.a-top { display: flex; align-items: center; justify-content: space-between; height: 82px; padding: 0 41px; background: #fff;
         border-bottom: 1px solid var(--soft); }
.a-back { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 650; font-size: 13px; text-decoration: none; margin-right: 80px; }
.a-main { flex: 1; display: flex; justify-content: center; align-items: flex-start; padding: 56px 20px 40px; }
.a-card { width: 100%; max-width: 1020px; display: grid; grid-template-columns: 341fr 679fr; background: #fff; border-radius: 18px;
          box-shadow: var(--shadow); overflow: hidden; min-height: 804px; }
.a-card.solo { grid-template-columns: 1fr; max-width: 560px; min-height: 0; }
.a-card.solo.wide { max-width: 920px; }
.a-body { padding: 56px 40px 40px; align-self: center; width: 100%; }
.solo .a-body { padding: 40px; }
.split .a-body { max-width: 655px; }
h1 { margin: 0 0 6px; color: var(--ink-text); font-size: 25px; font-weight: 750; line-height: 1.2; }
.subtitle { margin: 0 0 40px; color: var(--muted); font-size: 14px; }
.solo h1 { margin-bottom: 14px; } .solo .subtitle { margin-bottom: 24px; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 7px; font-size: 12px; font-weight: 650; color: var(--ink-text); }
input[type=email], input[type=password], input[type=text] { width: 100%; height: 52px; padding: 0 19px; font: inherit; font-size: 14px; font-weight: 400;
   color: var(--ink-text); background: #fff; border: 1px solid var(--border); border-radius: 8px; }
input::placeholder { color: var(--muted); opacity: 1; }
input:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan); }
.field { position: relative; display: flex; align-items: center; }
.field input { padding-right: 52px; }
.eye { position: absolute; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent;
       color: var(--muted); cursor: pointer; border-radius: 8px; }
.eye:hover { color: var(--blue); }
button, .button { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; padding: 0; font: inherit; font-size: 14px;
   font-weight: 750; color: var(--ink); background: var(--cyan); border: 1.5px solid var(--cyan); border-radius: 8px; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { filter: brightness(.95); }
.button.outline { height: 50px; background: #fff; color: var(--blue); font-size: 13px; }
.button.outline:hover { background: var(--soft); filter: none; }
.inline { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin: -2px 0 0; }
.inline a { font-size: 12px; font-weight: 650; text-decoration: none; }
label.check { display: flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 400; }
input[type=checkbox] { appearance: none; flex: none; width: 17px; height: 17px; margin: 0; border: 1px solid var(--muted); border-radius: 3px; background: #fff; cursor: pointer; }
input[type=checkbox]:checked { background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Cpath d='M4 9l3 3 6-7' fill='none' stroke='%23102C42' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; border-color: var(--cyan); }
label.legal-check { align-items: flex-start; font-size: 11px; line-height: 1.6; } label.legal-check input { margin-top: 1px; }
.separator { display: flex; align-items: center; gap: 24px; margin: 38px 0 24px; color: var(--muted); font-size: 12px; }
.separator::before, .separator::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.ask { margin: 0 0 18px; text-align: center; font-size: 13px; font-weight: 650; }
.links { margin: 26px 0 0; text-align: center; color: var(--muted); font-size: 11px; }
.solo .links { font-size: 13px; margin-top: 18px; }
.hint { color: var(--muted); font-size: 12px; font-weight: 400; margin: 0; }
.rules { margin: -6px 0 0; padding: 0 0 0 18px; color: var(--muted); font-size: 11px; font-weight: 400; }
.field-error { color: var(--err); font-size: 12px; font-weight: 400; }
.alert { margin: 0 0 18px; padding: 10px 14px; border-radius: 8px; font-size: 13px; }
.alert.error { color: var(--err); background: var(--err-bg); }
.alert.notice { color: #0b6b3b; background: var(--ok-bg); }
.legal { color: var(--muted); } .legal p { margin: 0 0 10px; }
.solo p { margin: 0 0 12px; }
.solo form { margin-top: 8px; }

/* brand panel */
.a-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 31px 46px 40px 46px; color: #E7F0F9; background: var(--ink); }
.a-panel::before { content: ""; position: absolute; left: 143px; top: 142px; width: 280px; height: 280px; border-radius: 50%; background: rgba(49, 180, 196, .08);
   box-shadow: inset 0 0 0 0 transparent; }
.a-panel::after { content: ""; position: absolute; left: 187px; top: 186px; width: 192px; height: 192px; border-radius: 50%; border: 1px solid rgba(113, 129, 138, .17);
   box-shadow: 0 0 0 43px rgba(0, 0, 0, 0), 0 0 0 1px rgba(113, 129, 138, 0); }
.a-panel > * { position: relative; z-index: 1; }
.a-panel .brand img { width: 32px; height: 32px; } .a-panel .brand span { font-size: 12px; letter-spacing: .3px; }
.a-panel .brand b { color: #fff; } .a-panel .brand i { color: #DFE7F0; letter-spacing: .7px; }
.a-kicker { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 50px 0 38px; padding: 5px 11px; border-radius: 12px;
   font-size: 9px; font-weight: 700; letter-spacing: .7px; background: var(--ink); }
.a-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.a-panel h2 { margin: 0 0 20px; color: #fff; font-size: 27px; font-weight: 750; line-height: 1.22; }
.a-panel-text { margin: 0; color: #DFE7F0; font-size: 13px; line-height: 1.6; }
.a-points { list-style: none; margin: 46px 0 0; padding: 36px 0 0; border-top: 1px solid rgba(113, 129, 138, .55); font-size: 11px; }
.a-points li { margin-bottom: 14px; } .a-points li::before { content: "- "; }
.a-widget { margin: auto 31px 0; padding: 18px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(220, 236, 245, .35); }
.a-widget p { margin: 0 0 18px; font-size: 9px; font-weight: 700; letter-spacing: .5px; color: #E7F0F9; }
.a-widget small { display: block; font-size: 10px; color: #DFE7F0; }
.a-widget svg { display: block; width: 100%; height: 46px; margin-bottom: 8px; }
.a-dots { display: flex; gap: 16px; margin-bottom: 22px; }
.a-dots span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan); color: var(--ink); font-size: 9px; font-weight: 750; }

.a-foot { width: 100%; padding: 0 20px 34px; text-align: center; color: var(--muted); font-size: 10px; }
.a-foot p { margin: 0 0 8px; }
.a-foot-links a { margin-left: 30px; color: var(--muted); text-decoration: none; }
.a-foot .legal-note { max-width: 720px; margin: 0 auto; line-height: 1.5; }

table.cookies { width: 100%; border-collapse: collapse; font-size: 12px; margin: 10px 0; display: block; overflow-x: auto; }
table.cookies th, table.cookies td { border: 1px solid var(--border); padding: 5px 7px; text-align: left; vertical-align: top; }
table.cookies th { background: var(--ink); color: #fff; }

@media (max-width: 860px) {
  .a-top { height: 72px; padding: 0 20px; background: var(--ink); border: 0; flex-wrap: wrap; align-content: center; }
  .a-top .brand b { color: #fff; } .a-top .brand i { color: var(--blue); }
  .a-top .brand img { width: 34px; height: 34px; }
  .a-back { color: #fff; margin: 0; font-size: 14px; }
  .a-main { padding: 20px 20px 24px; }
  .a-card, .a-card.solo { display: block; border-radius: 16px; min-height: 0; }
  .a-panel { display: none; }
  .a-body, .solo .a-body { padding: 22px 20px 24px; }
  h1 { font-size: 20px; } .subtitle { margin-bottom: 14px; font-size: 13px; }
  form { gap: 12px; } input[type=email], input[type=password], input[type=text] { height: 48px; font-size: 13px; }
  .separator { margin: 18px 0 12px; } .ask { margin-bottom: 8px; font-weight: 400; }
  .button.outline { height: 40px; border: 0; background: transparent; }
  .links { margin-top: 8px; }
  .a-foot { width: 100%; padding-top: 4px; font-size: 12px; } .a-foot-links a { margin-left: 8px; color: var(--blue); }
}
