*{box-sizing:border-box}
.auth-page{min-height:100vh;
margin:0;
padding:42px 20px;
background:#f7f7f7;
display:flex;
flex-direction:column;
align-items:center;
color:#222325}
.auth-page>.mp-logo{margin-bottom:28px}
.auth-card{width:min(100%,460px);
padding:34px;
border:1px solid #e3e6eb;
border-radius:12px;
background:#fff;
box-shadow:0 18px 50px rgba(0,0,0,.08)}
.auth-card-wide{width:min(100%,560px)}
.auth-card h1,.auth-form-panel h1{margin:9px 0 7px;
font:700 30px/1.2 Arial,sans-serif;
letter-spacing:-.6px}
.auth-card>p,.auth-form-panel>p{margin:0 0 25px;
color:#62646a;
line-height:1.45}
.auth-card form,.auth-card label,.auth-form-panel form,.auth-form-panel label{display:grid;
gap:8px}
.auth-card form,.auth-form-panel form{gap:16px}
.auth-card label,.auth-form-panel label{font-size:13px;
font-weight:600}
.auth-card input,.auth-form-panel input{width:100%;
height:48px;
padding:0 13px;
border:1px solid #c5c6c9;
border-radius:4px;
outline:none;
font:400 15px Arial,sans-serif;
background:#fff}
.auth-card input:focus,.auth-form-panel input:focus{border-color:#222325;
box-shadow:0 0 0 1px #222325}
.auth-card button,.auth-form-panel button{height:50px;
border:0;
border-radius:4px;
background:#222325;
color:#fff;
font-weight:700;
font-size:16px;
cursor:pointer}
.auth-card button:hover,.auth-form-panel button:hover{background:#1dbf73}
.auth-grid{display:grid;
grid-template-columns:1fr 1fr;
gap:13px}
.auth-card fieldset,.auth-form-panel fieldset{display:flex;
gap:10px;
padding:0;
border:0}
.auth-card legend,.auth-form-panel legend{margin-bottom:9px;
font-size:13px;
font-weight:700}
.auth-card .role-option,.auth-form-panel .role-option{flex:1;
display:flex;
align-items:center;
padding:12px;
border:1px solid #c5c6c9;
border-radius:6px;
font-size:12px;
cursor:pointer}
.role-option:has(input:checked){border:2px solid #1dbf73;
padding:11px;
background:#f0fff7}
.role-option input{width:auto;
height:auto;
accent-color:#1dbf73}
.role-option span{display:grid;
gap:2px}
.role-option small{font-weight:400;
color:#74767e}
.auth-switch{text-align:center;
margin-top:20px;
color:#727c8c;
font-size:12px}
.auth-switch a,.auth-topbar a{color:#1a7f4b;
font-weight:700}
.auth-error{margin-bottom:16px;
padding:11px;
border-radius:4px;
background:#fff0ee;
color:#b42318;
font-size:12px}
.auth-field-error{color:#c33127;
font-weight:500;
line-height:1.35}
.auth-help{color:#74767e;
font-weight:400}
.auth-phone{display:flex;
border:1px solid #c5c6c9;
border-radius:4px;
overflow:hidden}
.auth-phone:focus-within{border-color:#222325;
box-shadow:0 0 0 1px #222325}
.auth-phone span{display:grid;
place-items:center;
padding:0 13px;
border-right:1px solid #ddd;
color:#62646a;
background:#fafafa}
.auth-phone input{border:0!important;
box-shadow:none!important}
.auth-page-market{padding:0;
background:rgba(34,35,37,.64);
font-family:"Oswald",Arial,sans-serif}
.auth-topbar{width:100%;
height:76px;
padding:0 clamp(20px,6vw,110px);
display:flex;
align-items:center;
justify-content:space-between;
background:#fff}
.auth-topbar>span{font-size:14px;
color:#62646a}
.auth-market-card{width:min(1125px,calc(100% - 36px));
min-height:720px;
margin:38px auto;
display:grid;
grid-template-columns:1fr 1fr;
border-radius:14px;
overflow:hidden;
background:#fff;
box-shadow:0 24px 70px rgba(0,0,0,.2)}
.auth-visual{position:relative;
overflow:hidden;
padding:58px;
background:linear-gradient(90deg,rgba(15,42,92,.92) 0%,rgba(29,78,216,.5) 48%,rgba(15,23,42,.12) 100%),url('../images/banner/freelance-boy-bg.png') center/cover no-repeat;
color:#fff}
.auth-visual:before,.auth-visual:after{content:"";
position:absolute;
border:1px solid rgba(255,255,255,.16);
border-radius:50%}
.auth-visual:before{width:500px;
height:500px;
left:-150px;
bottom:-180px}
.auth-visual:after{width:360px;
height:360px;
right:-100px;
top:40px}
.auth-visual-copy{position:relative;
z-index:2}
.auth-visual-copy span{font-size:12px;
font-weight:800;
letter-spacing:2px}
.auth-visual-copy h2{max-width:370px;
margin:18px 0 10px;
font:600 44px/1.05 "Oswald",Arial,sans-serif;
letter-spacing:.01em}
.auth-visual-copy p{max-width:320px;
color:#d7f5e6}
.auth-person{position:absolute;
z-index:1;
left:50%;
bottom:0;
width:270px;
height:410px;
transform:translateX(-50%);
border-radius:140px 140px 0 0;
background:#f1c8a7}
.auth-person-head{position:absolute;
left:78px;
top:-53px;
width:112px;
height:132px;
border-radius:50% 50% 45% 45%;
background:#7a3c25;
box-shadow:0 -20px 0 12px #171717}
.auth-laptop{position:absolute;
left:-55px;
bottom:55px;
width:380px;
height:190px;
display:grid;
place-items:center;
border-radius:12px;
background:#d7d9d9;
color:#777;
font:bold 32px Arial;
transform:perspective(500px) rotateX(-5deg)}
.auth-name-pill{position:absolute;
z-index:3;
padding:15px 20px;
border-radius:30px;
background:#fff;
color:#333;
box-shadow:0 8px 25px rgba(0,0,0,.14);
font-weight:600}
.auth-name-pill b{color:#1dbf73;
margin-left:8px}
.auth-pill-one{top:245px;
left:48px}
.auth-pill-two{top:365px;
right:35px}
.auth-form-panel{padding:38px 52px 36px;
overflow:auto}
.auth-back{display:inline-block;
margin-bottom:35px;
color:#222325;
text-decoration:none;
font-weight:600}
.auth-legal{text-align:center!important;
margin:2px 0 0!important;
font-size:11px!important;
color:#95979d!important}
.auth-form-panel .mp-kicker{color:#1a7f4b}

.auth-username-warning{margin:-5px 0 6px!important;
color:#62646a!important;
font-size:13px!important;
font-weight:600}
.auth-form-panel form:has(input[name="username"]:invalid) button{background:#efeff0;
color:#9a9ca2}

@media(max-width:800px){.auth-topbar{height:64px}
.auth-topbar>span{font-size:12px}
.auth-market-card{display:block;
margin:18px auto;
min-height:0}
.auth-visual{display:none}
.auth-form-panel{padding:30px 24px}
.auth-back{margin-bottom:22px}
}
@media(max-width:520px){.auth-page{padding:25px 14px}
.auth-page-market{padding:0}
.auth-card{padding:25px 20px}
.auth-grid{grid-template-columns:1fr}
.auth-card fieldset,.auth-form-panel fieldset{display:grid}
.auth-market-card{width:calc(100% - 20px);
margin:10px auto;
border-radius:10px}
.auth-topbar{padding:0 16px}
.auth-topbar .mp-logo{transform:scale(.86);
transform-origin:left}
.auth-form-panel h1{font-size:26px}
}


