/* Premium login composition. This file is loaded only for body.mode-auth. */
.mode-auth .auth-wrap{grid-template-columns:minmax(0,1.14fr) minmax(420px,.86fr);background:#fff}
.mode-auth .auth-brand{position:relative;isolation:isolate;overflow:hidden;min-height:100vh;padding:clamp(34px,5vw,72px) clamp(32px,8vw,128px);background:#102b3e;color:#fff}
.mode-auth .auth-brand::before{content:"";position:absolute;z-index:-2;inset:0;background:url("login-ocean-premium-v1.jpg") 70% 56%/cover no-repeat;transform:scale(1.015)}
.mode-auth .auth-brand::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(7,25,39,.76) 0%,rgba(9,33,49,.38) 42%,rgba(7,24,37,.86) 100%),linear-gradient(90deg,rgba(4,20,32,.58) 0%,rgba(8,27,41,.12) 72%)}
.mode-auth .auth-brand .brand{width:max-content;max-width:100%;padding:13px 17px 13px 12px;border:1px solid rgba(220,237,246,.18);border-radius:8px;background:rgba(8,29,44,.28);box-shadow:0 18px 50px rgba(0,13,24,.18);backdrop-filter:blur(7px)}
.mode-auth .auth-brand .brand small{color:#bed0da}
.mode-auth .auth-brand-copy{max-width:590px;padding:28px 0 5vh;text-shadow:0 2px 22px rgba(0,15,26,.62)}
.mode-auth .auth-brand-copy::before{content:"";display:block;width:54px;height:1px;margin-bottom:26px;background:linear-gradient(90deg,#d96759,rgba(217,103,89,0))}
.mode-auth .auth-brand .eyebrow{color:#c7d9e2;font-weight:600}
.mode-auth .auth-brand h1{max-width:620px;margin:9px 0 16px;font-size:clamp(46px,5vw,72px);line-height:1.02;letter-spacing:-.025em}
.mode-auth .auth-brand-copy>p:last-child{max-width:440px;margin:0;color:#d2e0e7;font-size:clamp(13px,1.15vw,17px);letter-spacing:.01em}
.mode-auth .auth-card{display:grid;align-items:center;min-height:100vh;padding:clamp(42px,9vh,110px) clamp(32px,7vw,112px);background:linear-gradient(145deg,#fff 0%,#f7fafb 100%)}
.mode-auth .auth-card-inner{width:min(100%,430px);margin-inline:auto}
.mode-auth .auth-card-inner::before{content:"ПАРТНЁРСКИЙ ДОСТУП";display:block;margin-bottom:18px;color:#8297a4;font-size:9px;font-weight:700;letter-spacing:2.2px}
.mode-auth .auth-card h2{margin:0 0 10px;color:#173246;font-size:clamp(30px,3vw,40px);line-height:1.12}
.mode-auth .auth-card>p,.mode-auth .auth-card-inner>p{color:var(--muted);line-height:1.6}
.mode-auth .auth-card form{gap:18px;margin-top:34px}
.mode-auth .auth-card label{color:#4f6573;font-weight:600;letter-spacing:.01em}
.mode-auth .auth-card input{min-height:48px;border-color:#c7d5dc;border-radius:7px;background:#fff;box-shadow:0 1px 0 rgba(12,43,62,.03);transition:border-color .18s,box-shadow .18s}
.mode-auth .auth-card input:focus{outline:0;border-color:#3b718f;box-shadow:0 0 0 3px rgba(59,113,143,.12)}
.mode-auth .auth-card .primary{min-height:49px;margin-top:2px;border-radius:7px;background:#1d4865!important;box-shadow:0 9px 24px rgba(23,62,88,.16);font-weight:700;transition:background .18s,transform .18s,box-shadow .18s}
.mode-auth .auth-card .primary:hover{background:#173d57!important;box-shadow:0 12px 28px rgba(23,62,88,.22);transform:translateY(-1px)}
.mode-auth .auth-card .fine{margin:24px 0 0;padding:24px 0 0;border-top:1px solid #e5ecef;font-size:10px}
.mode-auth .auth-register-link{font-size:12px!important}.mode-auth .auth-register-link a,.mode-register a{color:#1d5577;font-weight:700}

/* Public B2B self-registration. */
.mode-register{background:#eef3f5}.mode-register .register-wrap{min-height:100vh;display:grid;grid-template-columns:minmax(320px,.7fr) minmax(620px,1.3fr)}
.mode-register .register-brand{position:relative;isolation:isolate;overflow:hidden;min-height:100vh;padding:clamp(34px,5vw,72px);background:#102b3e;color:#fff;display:flex;flex-direction:column;justify-content:space-between}
.mode-register .register-brand::before{content:"";position:absolute;z-index:-2;inset:0;background:url("login-ocean-premium-v1.jpg") 68% 55%/cover no-repeat;transform:scale(1.02)}
.mode-register .register-brand::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(7,25,39,.82),rgba(9,33,49,.46) 44%,rgba(7,24,37,.92)),linear-gradient(90deg,rgba(4,20,32,.6),rgba(8,27,41,.1))}
.mode-register .register-brand h1{font:clamp(38px,4vw,60px)/1.05 Georgia,serif;margin:10px 0 18px}.mode-register .register-brand p{max-width:500px;color:#d2e0e7;line-height:1.65}.mode-register .register-brand .eyebrow{color:#c7d9e2;font-weight:700}
.mode-register .register-card{padding:clamp(34px,5vw,78px);display:grid;align-items:center;background:linear-gradient(145deg,#fff,#f5f8f9)}.mode-register .register-card-inner{width:min(100%,800px);margin:auto}.mode-register .back-link{display:inline-block;margin-bottom:24px;text-decoration:none}.mode-register .register-card h2{font:clamp(30px,3vw,42px)/1.15 Georgia,serif;margin:0 0 8px;color:#173246}.mode-register .register-card>p,.mode-register .register-card-inner>p{color:var(--muted)}
.mode-register .registration-form{margin-top:28px;display:grid;grid-template-columns:1fr 1fr;gap:17px 20px}.mode-register .registration-form label{display:grid;align-self:start;align-content:start;grid-auto-rows:max-content;gap:7px;color:#4f6573;font-size:11px;font-weight:600}.mode-register .registration-form input{box-sizing:border-box;width:100%;height:46px;min-height:46px;padding:11px 12px;border:1px solid #c7d5dc;border-radius:7px;background:#fff;font-size:16px;line-height:22px}.mode-register .registration-form input:focus{outline:0;border-color:#3b718f;box-shadow:0 0 0 3px rgba(59,113,143,.12)}.mode-register .registration-form small{display:block;color:#83949e;font-weight:400;line-height:1.35}.mode-register .registration-form .full{grid-column:1/-1}.mode-register .registration-form button{min-height:49px}.mode-register .honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.mode-register .fine{margin:22px 0 0;padding:18px 0 0;border-top:1px solid #e1eaee;font-size:10px;line-height:1.6}

@media(max-width:980px){
 .mode-auth .auth-wrap{grid-template-columns:minmax(0,1fr) minmax(390px,.92fr)}
 .mode-auth .auth-brand{padding-inline:clamp(30px,6vw,64px)}
 .mode-auth .auth-brand h1{font-size:clamp(43px,5vw,58px)}
 .mode-auth .auth-card{padding-inline:clamp(30px,6vw,64px)}
}
@media(max-width:850px){
 .mode-auth .auth-wrap{display:block;min-height:100vh}
 .mode-auth .auth-brand{min-height:clamp(320px,43vh,430px);padding:28px clamp(24px,7vw,54px) 36px;justify-content:space-between}
 .mode-auth .auth-brand::before{background-position:72% 61%;transform:scale(1.02)}
 .mode-auth .auth-brand::after{background:linear-gradient(180deg,rgba(6,24,38,.72) 0%,rgba(7,28,43,.34) 42%,rgba(5,21,33,.9) 100%),linear-gradient(90deg,rgba(4,18,30,.5),rgba(6,25,38,.08))}
 .mode-auth .auth-brand .brand{padding:10px 14px 10px 10px}
 .mode-auth .auth-brand-copy{padding:24px 0 0}
 .mode-auth .auth-brand-copy::before{margin-bottom:18px}
 .mode-auth .auth-brand h1{font-size:clamp(38px,8vw,52px)}
 .mode-auth .auth-card{min-height:auto;padding:42px clamp(24px,8vw,72px) 48px}
 .mode-auth .auth-card-inner{width:min(100%,520px)}
 .mode-register .register-wrap{display:block}.mode-register .register-brand{min-height:330px;padding:28px clamp(24px,7vw,54px) 36px}.mode-register .register-card{padding:42px clamp(24px,7vw,54px) 54px}.mode-register .register-card-inner{width:min(100%,720px)}
}
@media(max-width:430px){
 .mode-auth .auth-brand{min-height:300px;padding:22px 20px 30px}
 .mode-auth .auth-brand::before{background-position:70% 58%}
 .mode-auth .auth-brand .brand{gap:9px;font-size:13px}
 .mode-auth .auth-brand .mark{font-size:30px}
 .mode-auth .auth-brand h1{margin-bottom:10px;font-size:38px}
 .mode-auth .auth-brand-copy>p:last-child{font-size:12px;line-height:1.5}
 .mode-auth .auth-card{padding:34px 20px 42px}
 .mode-auth .auth-card-inner::before{margin-bottom:14px}
 .mode-auth .auth-card h2{font-size:30px}
 .mode-auth .auth-card form{margin-top:27px}
 .mode-register .register-brand{min-height:280px;padding:22px 20px 30px}.mode-register .register-brand h1{font-size:38px}.mode-register .register-card{padding:34px 20px 44px}.mode-register .registration-form{grid-template-columns:1fr}.mode-register .registration-form .full{grid-column:auto}
}
