﻿:root{--auth-navy:#071a2b;--auth-blue:#0b5ed7;--auth-cyan:#18b6d9;--auth-ink:#102435;--auth-muted:#647586;--auth-border:#dce5ec;--auth-bg:#f2f7fa;--auth-error:#b42318;--auth-success:#067647}
.tas-auth{min-height:calc(100vh - 160px);padding:clamp(28px,5vw,72px) 20px;background:radial-gradient(circle at 8% 8%,rgba(24,182,217,.16),transparent 31%),linear-gradient(145deg,#eef6fa,#f9fbfc)}
.tas-auth *{box-sizing:border-box}.tas-auth__shell{width:min(1180px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);overflow:hidden;border:1px solid rgba(7,26,43,.08);border-radius:28px;background:#fff;box-shadow:0 30px 80px rgba(7,26,43,.14)}
.tas-auth__brand{position:relative;display:flex;flex-direction:column;justify-content:center;padding:clamp(42px,6vw,80px);overflow:hidden;color:#fff;background:linear-gradient(145deg,#061725,#0b3550)}.tas-auth__brand:after{content:"";position:absolute;width:360px;height:360px;right:-180px;bottom:-180px;border:70px solid rgba(24,182,217,.17);border-radius:50%}.tas-auth__brand>*{position:relative;z-index:1}.tas-auth__brand-logo{display:inline-flex;width:190px;margin-bottom:48px}.tas-auth__brand-logo img{width:100%;height:auto;filter:brightness(0) invert(1)}.tas-auth__eyebrow{display:block;margin-bottom:12px;color:var(--auth-cyan);font-size:12px;font-weight:800;letter-spacing:.16em}.tas-auth__brand h1{margin:0 0 20px;color:#fff;font-size:clamp(32px,4vw,52px);line-height:1.08}.tas-auth__brand p{max-width:490px;margin:0;color:#c7d8e4;font-size:17px;line-height:1.75}.tas-auth__brand ul{display:grid;gap:13px;margin:32px 0 0;padding:0;list-style:none}.tas-auth__brand li{display:flex;gap:12px;align-items:center;color:#e8f2f7}.tas-auth__brand li i{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:rgba(24,182,217,.18);color:#5ee0f5}
.tas-auth__card{align-self:center;padding:clamp(34px,5vw,68px)}.tas-auth__card h2{margin:0 0 10px;color:var(--auth-ink);font-size:clamp(28px,3vw,40px)}.tas-auth__lead,.tas-auth__step>p{margin:0 0 28px;color:var(--auth-muted);line-height:1.65}.tas-auth__roles{margin:0 0 24px;padding:0;border:0}.tas-auth__roles legend{width:100%;margin-bottom:12px;color:var(--auth-ink);font-size:15px;font-weight:800}.tas-auth__role-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tas-auth__role{display:block;margin:0;cursor:pointer}.tas-auth__role input{position:absolute;opacity:0;pointer-events:none}.tas-auth__role-content{display:flex;height:100%;min-height:154px;flex-direction:column;padding:19px;border:2px solid var(--auth-border);border-radius:16px;background:#fff;transition:.2s ease}.tas-auth__role-content i{margin-bottom:13px;color:var(--auth-blue);font-size:28px}.tas-auth__role-content strong{margin-bottom:7px;color:var(--auth-ink);font-size:17px}.tas-auth__role-content small{color:var(--auth-muted);font-size:13px;line-height:1.45}.tas-auth__role input:checked+.tas-auth__role-content{border-color:var(--auth-blue);background:#f1f7ff;box-shadow:0 0 0 3px rgba(11,94,215,.1)}.tas-auth__role input:focus-visible+.tas-auth__role-content{outline:3px solid rgba(24,182,217,.4);outline-offset:2px}
.tas-auth__field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tas-auth__field--wide{grid-column:1/-1}.tas-auth__field{display:block;margin-bottom:18px}.tas-auth__field>span:first-child{display:block;margin-bottom:7px;color:var(--auth-ink);font-size:14px;font-weight:700}.tas-auth__field input{width:100%;height:52px;padding:0 15px;border:1px solid var(--auth-border);border-radius:12px;background:#fbfcfd;color:var(--auth-ink);font-size:15px;outline:0;transition:.2s}.tas-auth__field input:focus{border-color:var(--auth-blue);background:#fff;box-shadow:0 0 0 3px rgba(11,94,215,.1)}.tas-auth__password{position:relative;display:block}.tas-auth__password input{padding-right:48px}.tas-auth__password button{position:absolute;top:50%;right:10px;width:36px;height:36px;padding:0;transform:translateY(-50%);border:0;background:transparent;color:var(--auth-muted)}.tas-auth__row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:2px 0 22px}.tas-auth a{color:var(--auth-blue);font-weight:700}.tas-auth__check{display:flex;gap:10px;align-items:flex-start;margin:0 0 14px;color:var(--auth-muted);font-size:14px;line-height:1.5}.tas-auth__check input{width:18px;height:18px;flex:0 0 auto;margin-top:2px;accent-color:var(--auth-blue)}.tas-auth__submit{width:100%;min-height:52px;margin-top:6px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--auth-blue),#08479f);color:#fff;font-weight:800;box-shadow:0 12px 25px rgba(11,94,215,.22);transition:.2s}.tas-auth__submit:hover{transform:translateY(-1px);box-shadow:0 15px 30px rgba(11,94,215,.3)}.tas-auth__submit:disabled{cursor:not-allowed;opacity:.55;transform:none}.tas-auth__switch{margin:24px 0 0;text-align:center;color:var(--auth-muted)}.tas-auth__message{margin:0 0 20px;padding:13px 15px;border-radius:11px;font-size:14px;line-height:1.5}.tas-auth__message--info{background:#eef7ff;color:#174b79}.tas-auth__message--error{background:#fef3f2;color:var(--auth-error)}.tas-auth__message--success{background:#ecfdf3;color:var(--auth-success)}.tas-auth__field-error{display:block;margin-top:8px;color:var(--auth-error);font-size:13px}.tas-auth__help{margin:-6px 0 18px;color:var(--auth-muted);font-size:13px}.tas-auth__help i{margin-right:6px;color:var(--auth-success)}.tas-auth__step h2{margin-top:0}.tas-auth__back{display:inline-flex;gap:8px;align-items:center;margin-bottom:30px;border:0;background:none;color:var(--auth-blue);font-weight:700}.tas-auth__code{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:24px 0}.tas-auth__code input{min-width:0;height:62px;border:2px solid var(--auth-border);border-radius:13px;text-align:center;font-size:26px;font-weight:800;outline:0}.tas-auth__code input:focus{border-color:var(--auth-blue);box-shadow:0 0 0 3px rgba(11,94,215,.1)}.tas-auth__resend{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;color:var(--auth-muted);font-size:14px}.tas-auth__resend button{border:0;background:transparent;color:var(--auth-blue);font-weight:800}.tas-auth__resend button:disabled{color:#97a5b1}
@media(max-width:900px){.tas-auth{padding:24px 16px}.tas-auth__shell{grid-template-columns:1fr;max-width:680px}.tas-auth__brand{min-height:auto;padding:34px}.tas-auth__brand-logo{width:155px;margin-bottom:24px}.tas-auth__brand h1{font-size:30px}.tas-auth__brand ul{display:none}.tas-auth__card{padding:34px}}
@media(max-width:560px){.tas-auth{padding:12px 10px}.tas-auth__shell{border-radius:18px}.tas-auth__brand{padding:26px 22px}.tas-auth__brand p{font-size:14px}.tas-auth__card{padding:28px 20px}.tas-auth__role-grid,.tas-auth__field-grid{grid-template-columns:1fr}.tas-auth__field--wide{grid-column:auto}.tas-auth__role-content{min-height:auto}.tas-auth__row,.tas-auth__resend{align-items:flex-start;flex-direction:column}.tas-auth__code{gap:6px}.tas-auth__code input{height:54px;font-size:22px}}
@media(max-width:900px){.tas-auth{width:100%;max-width:100vw;overflow-x:hidden}.tas-auth__shell{width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}.tas-auth__brand,.tas-auth__card,.tas-auth__role-content{min-width:0}}
@media(max-width:560px){.tas-auth__shell{max-width:100%;overflow:hidden}.tas-auth__brand h1,.tas-auth__brand p,.tas-auth__role-content small{overflow-wrap:anywhere}}

/* Premium auth polish — scoped to the auth surface. */
.tas-auth{--auth-yellow:#ffb800;--auth-yellow-deep:#ed9f00;--auth-blue:#075fd8;--auth-navy:#03172c;--auth-ink:#071a33;padding-top:clamp(24px,3vw,48px);background:radial-gradient(circle at 78% 12%,rgba(24,111,215,.10),transparent 30%),linear-gradient(135deg,#edf5fa 0%,#f8fafc 48%,#eef4f8 100%)}
.tas-auth__shell{grid-template-columns:minmax(410px,.92fr) minmax(480px,1.08fr);max-width:1220px;border-color:rgba(4,32,61,.08);border-radius:22px;background:rgba(250,252,253,.96);box-shadow:0 28px 80px rgba(2,25,48,.16)}
.tas-auth__brand{isolation:isolate;padding:clamp(48px,5vw,76px);background:radial-gradient(circle at 78% 28%,rgba(11,111,207,.32),transparent 25%),linear-gradient(145deg,#021326 0%,#042d57 58%,#063d70 100%)}
.tas-auth__brand:before{content:"";position:absolute;inset:0;z-index:0;opacity:.22;background-image:radial-gradient(circle at 18% 26%,#ffbd19 0 2px,transparent 3px),radial-gradient(circle at 76% 20%,#58b9ff 0 2px,transparent 3px),radial-gradient(circle at 63% 56%,#ffbd19 0 2px,transparent 3px),linear-gradient(124deg,transparent 28%,rgba(90,181,242,.28) 28.2%,transparent 28.8%),linear-gradient(34deg,transparent 62%,rgba(255,190,22,.22) 62.2%,transparent 62.8%);background-size:190px 180px,230px 210px,260px 240px,100% 100%,100% 100%}
.tas-auth__brand:after{width:520px;height:220px;right:-80px;bottom:-100px;border:0;border-radius:50%;background:repeating-linear-gradient(168deg,transparent 0 23px,rgba(32,156,235,.14) 24px 26px),linear-gradient(90deg,transparent,rgba(255,184,0,.18));transform:rotate(-4deg)}
.tas-auth__brand-logo{width:215px;margin-bottom:56px;padding:0;border:0;background:transparent;box-shadow:none}
.tas-auth__brand-logo img{width:100%;filter:none!important;opacity:1!important;transform:translateZ(0)}
.tas-auth__brand .tas-auth__eyebrow{color:var(--auth-yellow)}
.tas-auth__brand h1{max-width:520px;font-size:clamp(40px,4.1vw,60px);letter-spacing:-.035em}.tas-auth__brand h1::first-line{color:#fff}.tas-auth__brand p{max-width:430px;color:#e4eef7;font-size:18px}
.tas-auth__brand ul{grid-template-columns:1fr 1fr;gap:18px 22px}.tas-auth__brand li{align-items:flex-start}.tas-auth__brand li>i{width:38px;height:38px;flex:0 0 38px;border:1px solid rgba(255,184,0,.52);background:rgba(255,184,0,.08);color:var(--auth-yellow)}.tas-auth__brand li span{display:flex;flex-direction:column}.tas-auth__brand li strong{color:#fff;font-size:14px}.tas-auth__brand li small{margin-top:3px;color:#a9c1d5;font-size:12px}
.tas-auth__route{position:absolute;right:9%;bottom:10%;left:9%;z-index:1;height:56px;border-bottom:2px solid rgba(255,184,0,.7);border-radius:0 0 50% 50%;transform:rotate(-3deg)}.tas-auth__route span{position:absolute;bottom:-7px;width:12px;height:12px;border:3px solid var(--auth-yellow);border-radius:50%;background:#05335f}.tas-auth__route span:nth-child(1){left:2%}.tas-auth__route span:nth-child(2){left:34%;bottom:7px}.tas-auth__route span:nth-child(3){left:67%;bottom:1px}.tas-auth__route span:nth-child(4){right:1%;bottom:-5px}
.tas-auth__card{margin:20px;padding:clamp(34px,4vw,58px);border:1px solid rgba(7,44,78,.07);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(248,251,253,.96));box-shadow:0 18px 50px rgba(6,36,65,.10)}
.tas-auth__card h2{letter-spacing:-.025em}.tas-auth__card>.tas-auth__eyebrow,.tas-auth__card>div>.tas-auth__eyebrow{color:var(--auth-blue)}
.tas-auth__role-content{position:relative;min-height:160px;padding:20px;border-color:#cfdae4;border-radius:13px;background:rgba(255,255,255,.9)}.tas-auth__role-content>i{display:grid;width:42px;height:42px;place-items:center;margin-bottom:14px;border-radius:11px;background:#edf5ff;color:var(--auth-blue);font-size:22px}.tas-auth__role:hover .tas-auth__role-content{border-color:#84afe8;transform:translateY(-2px);box-shadow:0 12px 24px rgba(5,73,145,.09)}.tas-auth__role-check{position:absolute;top:14px;right:14px;display:grid;width:22px;height:22px;place-items:center;border:2px solid #c5d1dc;border-radius:50%;background:#fff;color:transparent;font-size:10px}.tas-auth__role input:checked+.tas-auth__role-content{border-color:var(--auth-blue);background:linear-gradient(145deg,#f7fbff,#eaf4ff);box-shadow:0 0 0 3px rgba(7,95,216,.10),0 12px 28px rgba(5,74,150,.10)}.tas-auth__role input:checked+.tas-auth__role-content .tas-auth__role-check{border-color:var(--auth-blue);background:var(--auth-blue);color:#fff}.tas-auth__role input:focus-visible+.tas-auth__role-content{outline:3px solid rgba(255,184,0,.55);outline-offset:3px}
.tas-auth__field input{height:56px;border-color:#d5dfe7;border-radius:10px;background:#fff}.tas-auth__field input:hover{border-color:#aebfce}.tas-auth__field input:focus{border-color:var(--auth-blue);box-shadow:0 0 0 4px rgba(7,95,216,.11)}.tas-auth__field input:invalid:not(:placeholder-shown){border-color:#d36b64;box-shadow:0 0 0 3px rgba(180,35,24,.07)}
.tas-auth__submit{min-height:56px;border-radius:10px;background:linear-gradient(135deg,#0868e3,#074fb5);box-shadow:0 12px 26px rgba(7,95,216,.24)}.tas-auth[data-auth-page="register"] .tas-auth__submit{background:linear-gradient(135deg,#ffc21a,var(--auth-yellow-deep));color:#132238;box-shadow:0 12px 26px rgba(237,159,0,.25)}.tas-auth__submit:hover{filter:saturate(1.08);transform:translateY(-2px)}.tas-auth__submit:active{transform:translateY(0);box-shadow:0 5px 12px rgba(5,54,107,.2)}.tas-auth__submit:focus-visible,.tas-auth__back:focus-visible,.tas-auth__resend button:focus-visible{outline:3px solid rgba(255,184,0,.62);outline-offset:3px}.tas-auth__submit[aria-busy="true"]{cursor:wait;filter:saturate(.7)}
.tas-auth__progress{display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 30px}.tas-auth__progress>div{position:relative;display:flex;flex-direction:column;align-items:center;color:#8796a5;font-size:11px;text-align:center}.tas-auth__progress>div:not(:last-child):after{content:"";position:absolute;top:15px;left:58%;width:84%;height:2px;background:#dce4eb}.tas-auth__progress b{position:relative;z-index:1;display:grid;width:31px;height:31px;margin-bottom:7px;place-items:center;border:1px solid #d2dce5;border-radius:50%;background:#fff;color:#778897}.tas-auth__progress .is-active{color:var(--auth-blue);font-weight:800}.tas-auth__progress .is-active b{border-color:var(--auth-blue);background:var(--auth-blue);color:#fff;box-shadow:0 5px 12px rgba(7,95,216,.22)}.tas-auth__progress .is-active:after{background:linear-gradient(90deg,var(--auth-blue),#dce4eb)}
.tas-auth__message{border:1px solid transparent}.tas-auth__message--info{border-color:#cfe4f7;background:#f0f8ff}.tas-auth__message--error{border-color:#f3c9c5}.tas-auth__message--success{border-color:#b8e7cc}
.tas-auth__code input{border-radius:10px;background:#fff}.tas-auth__step .tas-auth__submit{background:linear-gradient(135deg,#0868e3,#074fb5);color:#fff}
@media(max-width:900px){.tas-auth__shell{grid-template-columns:minmax(0,1fr);max-width:680px}.tas-auth__brand{padding:28px 30px}.tas-auth__brand-logo{width:180px;margin-bottom:20px}.tas-auth__brand h1{font-size:34px}.tas-auth__brand ul,.tas-auth__route{display:none}.tas-auth__card{margin:0;padding:36px 34px;border-radius:0 0 18px 18px}}
@media(max-width:560px){.tas-auth{padding:10px}.tas-auth__brand{min-height:165px;padding:24px 22px}.tas-auth__brand-logo{width:155px;margin-bottom:18px;padding:7px 10px}.tas-auth__brand .tas-auth__eyebrow{margin-bottom:7px;font-size:10px}.tas-auth__brand h1{margin-bottom:8px;font-size:25px}.tas-auth__brand p{font-size:13px;line-height:1.45}.tas-auth__card{padding:28px 20px}.tas-auth__role-content{min-height:auto;padding:17px}.tas-auth__role-content>i{width:36px;height:36px}.tas-auth__progress{margin-bottom:24px}.tas-auth__field input,.tas-auth__submit{min-height:52px}.tas-auth__code input{min-height:56px}}
@media(max-width:370px){.tas-auth{padding:0}.tas-auth__shell{border-radius:0}.tas-auth__brand{padding-right:18px;padding-left:18px}.tas-auth__card{padding-right:16px;padding-left:16px}.tas-auth__code{gap:5px}.tas-auth__code input{height:50px}}
@media(prefers-reduced-motion:reduce){.tas-auth *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.tas-auth__submit:hover,.tas-auth__role:hover .tas-auth__role-content{transform:none}}
.tas-auth__role-check i{color:transparent!important}.tas-auth__role input:checked+.tas-auth__role-content .tas-auth__role-check i{color:#fff!important}
body.tas-auth-page .tas-closing__newsletter{display:none}
