*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

/* Never sideways scrolling: the blurred background shapes hang off the edges on purpose, and are cut
   off at the page's edges (clip, unlike hidden, leaves nothing to scroll to). html has its own overflow, so the
   body's isn't handed to the window instead. */
html{
overflow-y:auto;
}

body{
position:relative;
overflow:clip;
min-height:100vh;
background:linear-gradient(
135deg,
#094cab,
#164fab
);
}

.container{
display:flex;
min-height:100vh;
}

.left-panel{
flex:1;
padding:70px;
display:flex;
flex-direction:column;
justify-content:center;
color:white;
}

.logo{
font-size:42px;
font-weight:700;
margin-bottom:30px;
}

.logo span{
color:#cde0ff;
}

.left-panel h1{
font-size:44px;
margin-bottom:20px;
line-height:1.2;
transition:.25s;
}

.left-panel p{
max-width:500px;
line-height:1.8;
margin-bottom:30px;
transition:.25s;
}

.feature{
width:280px;
padding:15px;
background:rgba(255,255,255,.15);
backdrop-filter:blur(12px);
border-radius:14px;
margin-bottom:15px;
display:flex;
align-items:center;
gap:12px;
}

.right-panel{
flex:1;
display:flex;
justify-content:center;
align-items:center;
padding:30px;
}

.signup-card{
width:480px;
max-height:94vh;
overflow-y:auto;
padding:35px;
background:rgba(255,255,255,.1);
backdrop-filter:blur(20px);
border-radius:25px;
box-shadow:0 20px 50px rgba(0,0,0,.25);
color:white;
}

.signup-card::-webkit-scrollbar{
width:6px;
}

.signup-card::-webkit-scrollbar-thumb{
background:white;
border-radius:10px;
}

.signup-card h2{
font-size:28px;
margin-bottom:6px;
}

.signup-subtitle{
font-size:13.5px;
color:#ffffff;
margin-bottom:22px;
}


/* ================= ROLE SELECTOR ================= */

.role-selector{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
margin-bottom:22px;
}

.role-card{
display:flex;
flex-direction:column;
align-items:flex-start;
gap:6px;
background:rgba(255,255,255,.08);
border:2px solid rgba(255,255,255,.35);
border-radius:14px;
padding:16px 14px;
color:white;
cursor:pointer;
text-align:left;
transition:.2s;
}

.role-card i{
font-size:18px;
margin-bottom:2px;
}

.role-card .role-title{
font-size:13.5px;
font-weight:700;
}

.role-card .role-subtitle{
font-size:11px;
color:#ffffff;
line-height:1.4;
}

.role-card:hover{
background:rgba(255,255,255,.2);
}

.role-card.active{
background:rgba(255,255,255,.95);
border-color:#ffffff;
color:#153b72;
}

.role-card.active .role-subtitle{
color:#4b6a94;
}


/* ================= FORM FIELDS ================= */

.input-group{
margin-bottom:15px;
}

.input-group label{
display:block;
font-size:12.5px;
font-weight:600;
margin-bottom:6px;
color:#ffffff;
}

.input-row{
display:grid;
grid-template-columns:minmax(0, 2fr) minmax(0, 3fr);
gap:10px;
}

.business-note{
display:flex;
gap:8px;
margin:-4px 0 14px;
font-size:12.5px;
line-height:1.5;
color:#ffffff;
}

.business-note i{
margin-top:2px;
}

.optional{
font-weight:400;
opacity:.85;
}

input,
select,
textarea{
width:100%;
padding:13px 14px;
border:none;
outline:none;
border-radius:10px;
background:white;
font-family:inherit;
font-size:14px;
}


/* ================= PASSWORD STRENGTH ================= */

.password-strength{
display:flex;
align-items:center;
gap:8px;
margin-top:8px;
}

.strength-bar{
flex:1;
height:5px;
border-radius:4px;
background:rgba(255,255,255,.25);
overflow:hidden;
}

.strength-fill{
height:100%;
width:0%;
border-radius:4px;
transition:width .2s ease, background-color .2s ease;
}

.strength-label{
font-size:11px;
font-weight:700;
color:#ffffff;
min-width:52px;
text-align:right;
}


/* ================= TERMS ================= */

.terms-row{
display:flex;
align-items:flex-start;
gap:9px;
margin:6px 0 16px;
font-size:12px;
line-height:1.5;
color:#ffffff;
cursor:pointer;
}

.terms-row a{
color:#ffffff;
font-weight:600;
text-decoration:underline;
}

.terms-row input{
width:16px;
height:16px;
margin-top:2px;
flex-shrink:0;
accent-color:#2A5BA1;
}


/* ================= BUTTONS ================= */

.btn{
width:100%;
padding:15px;
border:none;
border-radius:12px;
background:#2A5BA1;
color:white;
font-size:16px;
font-weight:600;
cursor:pointer;
transition:.3s;
}

.btn:hover{
transform:translateY(-2px);
}

.btn:disabled{
opacity:.7;
cursor:not-allowed;
transform:none;
}

.login-link{
text-align:center;
margin-top:20px;
font-size:13.5px;
}

.login-link a{
color:white;
font-weight:600;
}

.shape{
position:absolute;
border-radius:50%;
filter:blur(100px);
opacity:.3;
}

.shape1{
width:350px;
height:350px;
background:#5f9dff;
top:-100px;
left:-100px;
}

.shape2{
width:350px;
height:350px;
background:#8dc4ff;
right:-100px;
bottom:-100px;
}

@media(max-width:1100px){

.left-panel{
display:none;
}

.signup-card{
width:95%;
}

/* the card covers most of a small screen, so keep the light shapes faint behind its text */
.shape{
opacity:.15;
}

}
