/* RHEON — σελίδες σύνδεσης / επαναφοράς κωδικού */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-greek.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Outfit";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/outfit-latin.woff2) format("woff2")}

:root{--ink:#0f1b2d;--ink-2:#44526a;--muted:#7a889d;--line:#dde4ee;--blue:#2f6bff;--blue-2:#1f57e6;--red:#c9353b;--green:#17805a}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font:15px/1.5 "Inter",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#f4f7fb;-webkit-font-smoothing:antialiased}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,p,ul{margin:0;padding:0}
ul{list-style:none}
svg{display:block}
.i{width:18px;height:18px;flex:none}
.wordmark{font-family:"Outfit","Inter",sans-serif;font-weight:700;letter-spacing:.08em}
.brand{display:inline-flex;flex-direction:column;line-height:1;color:inherit}
.brand:hover{text-decoration:none}
.brand b{font-size:28px}
.brand small{font-size:12px;font-weight:500;margin:5px 0 0 6px;opacity:.85}

.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.auth-brand{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:40px;padding:40px 56px;color:#f4f7ff;overflow:hidden;
  background:
    radial-gradient(600px 420px at 0% 0%,rgba(70,100,140,.5),transparent 70%),
    linear-gradient(160deg,#233850 0%,#132741 35%,#0a1a2e 75%,#0d2038 100%)}
.auth-brand::before{content:"";position:absolute;z-index:-1;right:-340px;top:calc(55% - 300px);width:760px;height:600px;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(200,218,242,.52),rgba(120,160,215,.2) 48%,transparent 76%);
  animation:auth-glow 16s ease-in-out infinite alternate;will-change:transform,opacity}
@keyframes auth-glow{
  0%{transform:translate3d(0,-70px,0) scale(.94);opacity:.8}
  35%{transform:translate3d(-60px,30px,0) scale(1.08);opacity:1}
  70%{transform:translate3d(-20px,110px,0) scale(1);opacity:.88}
  100%{transform:translate3d(-90px,-20px,0) scale(1.14);opacity:1}}
.auth-pitch h2{font-size:clamp(28px,2.6vw,40px);line-height:1.12;font-weight:700;letter-spacing:-.02em;max-width:460px}
.auth-pitch h2 span{display:block;background:linear-gradient(90deg,#3f80ff,#8dc0ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.auth-pitch ul{margin-top:32px;display:grid;gap:16px}
.auth-pitch li{display:flex;align-items:center;gap:14px;font-size:15px;color:#d5ddef}
.auth-pitch li .i{width:40px;height:40px;padding:10px;border-radius:10px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);color:#fff}
.auth-foot{font-size:13px;color:#8e9bb8}

.auth-main{display:grid;place-items:center;padding:32px 20px}
.auth-card{width:100%;max-width:420px}
.only-narrow{display:none;margin-bottom:28px;color:var(--ink)}
h1{font-size:28px;font-weight:700;letter-spacing:-.02em}
.sub{margin:8px 0 24px;color:var(--ink-2)}
.alert{margin:0 0 18px;padding:11px 14px;border-radius:10px;font-size:14px;line-height:1.45}
.alert.ok{background:#e6f6ee;color:var(--green);border:1px solid #c5e9d6}
.alert.err{background:#fdecec;color:var(--red);border:1px solid #f6caca}
.alert a{color:inherit;text-decoration:underline}

.field{display:block;margin-bottom:16px}
.field>span:first-child{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px;font-size:13.5px;font-weight:600}
.field>span:first-child a{font-weight:500;font-size:13px}
.input{display:flex;align-items:center;gap:10px;height:48px;padding:0 12px;border:1.5px solid var(--line);border-radius:11px;background:#fff;color:var(--muted);transition:border-color .15s,box-shadow .15s}
.input:focus-within{border-color:var(--blue);box-shadow:0 0 0 4px rgba(47,107,255,.14);color:var(--blue)}
.input input,.input select{flex:1;min-width:0;height:100%;border:0;outline:0;background:none;font:inherit;color:var(--ink)}
.input input::placeholder{color:#a5b0c2}
.input button{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:8px;background:none;color:var(--muted);cursor:pointer}
.input button:hover,.input button[aria-pressed="true"]{background:#eef2f7;color:var(--ink)}
.check{display:flex;align-items:center;gap:10px;margin:4px 0 22px;font-size:14px;color:var(--ink-2);cursor:pointer}
.check input{width:17px;height:17px;accent-color:var(--blue)}
.btn-primary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:50px;border:0;border-radius:11px;background:var(--blue);color:#fff;font:600 15.5px "Inter",sans-serif;cursor:pointer;box-shadow:0 10px 24px -10px rgba(47,107,255,.7);transition:background .15s,transform .15s}
.btn-primary:hover{background:var(--blue-2);transform:translateY(-1px)}
.btn-primary:focus-visible,a:focus-visible,.input button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.below{margin-top:22px;text-align:center;font-size:14px;color:var(--ink-2)}

/* Επιβεβαίωση 2FA: 6 κουτάκια, αυτόματη υποβολή στο 6ο ψηφίο */
.otp-badge{display:grid;place-items:center;width:52px;height:52px;margin-bottom:18px;border-radius:15px;background:#eaf0ff;color:var(--blue)}
.otp-badge svg{width:24px;height:24px}
.otp{display:flex;align-items:center;gap:10px;margin:4px 0 10px}
.otp-d{width:100%;max-width:56px;height:64px;padding:0;border:1.5px solid var(--line);border-radius:14px;background:#fff;text-align:center;font:600 26px/1 "Inter",sans-serif;color:var(--ink);caret-color:var(--blue);outline:0;transition:border-color .15s,box-shadow .15s,background .15s,transform .15s}
.otp-d:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(47,107,255,.14)}
.otp-sep{flex:0 0 10px;height:2px;border-radius:2px;background:var(--line)}
.otp.is-full .otp-d{border-color:var(--blue)}
.otp.is-busy .otp-d{opacity:.6;pointer-events:none}
.otp.is-err .otp-d{border-color:var(--red);background:#fff7f7;animation:otp-shake .35s}
@keyframes otp-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.otp-msg{min-height:21px;margin:0 0 14px;font-size:14px;color:var(--red)}
.otp.is-busy+.otp-msg{color:var(--ink-2)}
.otp-link{display:inline;padding:0;border:0;background:none;font:500 14px "Inter",sans-serif;color:var(--blue);cursor:pointer}
.otp-link:hover{text-decoration:underline}
.otp-link:focus-visible,.otp-d:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
[data-otp-mode="recovery"] .btn-primary{margin-bottom:16px}
@media (max-width:420px){.otp{gap:6px}.otp-d{height:56px;font-size:22px;border-radius:12px}}

@media (max-width:900px){
  .auth{grid-template-columns:1fr}
  .auth-brand{display:none}
  .only-narrow{display:inline-flex}
  .auth-main{align-items:start;padding-top:48px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}.auth-brand::before{animation:none}}
