/* SKYNET client cabinet: language switch and e-mail sign-in components.
   Shares the purple system of home-ref.css; inputs are already styled there. */
.lang-switch{display:inline-flex;gap:3px;padding:3px;border-radius:13px;background:#f1ecfc;border:1px solid #e3dbf5;flex:0 0 auto}
.lang-switch button{min-width:46px;min-height:32px;padding:0 9px;border:0;border-radius:10px;background:transparent;color:#5b3fa8;font:inherit;font-size:12px;font-weight:800;letter-spacing:.03em;cursor:pointer}
.lang-switch button.active{background:#5924bf;color:#fff;box-shadow:0 5px 14px rgba(89,36,191,.26)}
body #home-choice header{gap:10px}
body #home-choice header .lang-switch{margin-left:auto}
body #existing-registration-flow .lang-switch{display:flex;width:max-content;margin:0 auto 14px}
.auth-divider{display:flex;align-items:center;gap:12px;margin:22px 0 4px;color:#9b93ab;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:#e7e0f3}
.email-form .field{margin:14px 0}
.auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:16px}
.auth-links .link{padding:4px 0;border:0;background:none;color:#5e38b2;font:inherit;font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.auth-links .link:hover{color:#3f1f8c}
.auth-links .link[disabled]{color:#9992a8;text-decoration:none;cursor:default}
body #email-code-value.code-input{letter-spacing:.42em;text-align:center;font-size:24px;font-weight:800}
.card .hint{margin:9px 0 0;font-size:13px;color:#8b839c}
@media(max-width:680px){.lang-switch button{min-width:40px;min-height:30px;padding:0 7px;font-size:11px}}
@media(max-width:560px){
 .auth-divider{margin:16px 0 2px}
 .auth-links{gap:8px;margin-top:12px}
 .auth-links .link{font-size:14px}
 body #email-code-value.code-input{font-size:22px;letter-spacing:.34em}
 body.register-mode #existing-registration-flow .lang-switch{margin-bottom:8px}
}

/* Task1067: auth inputs must be comfortable on phones and desktop. */
#email-login-form input,#email-start-form input,#email-code-form input,#email-password-form input{display:block;width:100%;min-height:52px;padding:12px 14px;border:1px solid #ddd7ec;border-radius:13px;background:#fff;color:#302644;font:inherit;font-size:16px;outline:none;box-sizing:border-box}
#email-login-form input:focus,#email-start-form input:focus,#email-code-form input:focus,#email-password-form input:focus{border-color:#7848d1;box-shadow:0 0 0 3px rgba(120,72,209,.12)}
@media(max-width:420px){
 body #home-choice header{flex-wrap:wrap;row-gap:8px}
 .lang-switch{gap:2px;padding:2px}
 .lang-switch button{min-width:34px;min-height:28px;padding:0 5px;font-size:10px;border-radius:8px}
}
