*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{

    width:100%;
    height:100%;

    font-family:"Inter",sans-serif;

}

body{

    overflow:hidden;

    background:#0F172A;

    position:relative;

}

/* ===========================
   BACKGROUND
=========================== */

.background-grid{

    position:fixed;

    inset:0;

    background-image:

        linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),

        linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);

    background-size:48px 48px;

    opacity:.35;

    pointer-events:none;

}

.background-glow{

    position:fixed;

    left:50%;
    top:50%;

    width:900px;
    height:900px;

    transform:translate(-50%,-50%);

    background:

    radial-gradient(

        circle,

        rgba(0,159,227,.18),

        transparent 70%

    );

    pointer-events:none;

}

/* ===========================
   WRAPPER
=========================== */

.login-wrapper{

    width:100%;
    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

}

/* ===========================
   MAIN CONTAINER
=========================== */

.login-container{

    width:1180px;

    max-width:100%;

    min-height:730px;

    display:grid;

    grid-template-columns:1fr 600px;

    border-radius:26px;

    overflow:hidden;

    background:transparent;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:

    0 45px 90px rgba(0,0,0,.35);

}

/* ===========================
   LEFT
=========================== */

.left-panel{

    background:#0F172A;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

}

.left-panel::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    radial-gradient(

        circle at top,

        rgba(0,159,227,.08),

        transparent 45%

    );

}

.left-content{

    position:relative;

    width:430px;

}

.logo{

    width:240px;

    margin-bottom:46px;

}

.left-content h1{

    font-size:54px;

    line-height:1.05;

    color:white;

    font-weight:580;

}

.subtitle{

    margin-top:18px;

    color:#A7B4C8;

    font-size:24px;

    line-height:1.6;

}

.divider{

    width:240px;

    height:2px;

    border-radius:999px;

    background:#009FE3;

    margin:42px 0;

}

.features{

    display:flex;

    flex-direction:column;

    gap:26px;

}

.feature{

    display:flex;

    align-items:center;

    gap:18px;

    font-size:24px;

    color:white;

}

.icon{

    width:34px;

    text-align:center;

    color:#009FE3;

    font-size:28px;

}

/* ===========================
   RIGHT
=========================== */

.right-panel{

    background:#FBFCFD;

    display:flex;

    justify-content:center;

    align-items:center;

}

.form-container{

    width:420px;

}

.form-container h2{

    text-align:center;

    color:#0F172A;

    font-size:54px;

    font-weight:700;

}

.welcome{

    margin-top:14px;

    margin-bottom:46px;

    text-align:center;

    color:#667085;

    font-size:24px;

}

/* ===========================
   INPUTS
=========================== */

.input-group{

    position:relative;

    margin-bottom:24px;

}

.input-icon{

    position:absolute;

    left:22px;

    top:50%;

    transform:translateY(-50%);

    color:#6B7280;

    font-size:20px;

}

input{

    width:100%;

    height:68px;

    border-radius:16px;

    border:1px solid #D8E1EA;

    background:white;

    padding-left:58px;

    padding-right:20px;

    font-size:18px;

    outline:none;

    transition:.25s;

}

input:focus{

    border-color:#009FE3;

    box-shadow:

    0 0 0 5px rgba(0,159,227,.15);

}

/* ===========================
   BUTTON
=========================== */

button{

    width:100%;

    height:68px;

    border:none;

    border-radius:16px;

    background:#009FE3;

    color:white;

    font-size:22px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

    margin-top:12px;

}

button:hover{

    background:#008ED0;

    transform:translateY(-2px);

    box-shadow:

    0 16px 35px rgba(0,159,227,.35);

}

/* ===========================
   REGISTER
=========================== */

.register{

    margin-top:42px;

    text-align:center;

    color:#64748B;

    font-size:18px;

}

.register a{

    color:#009FE3;

    text-decoration:none;

    font-weight:700;

}

.register a:hover{

    text-decoration:underline;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:1100px){

.login-container{

    width:95%;

    grid-template-columns:1fr;

}

.left-panel{

    display:none;

}

.form-container{

    width:85%;

    max-width:430px;

}

}

@media(max-width:600px){

.login-wrapper{

    padding:20px;

}

.form-container{

    width:100%;

}

.form-container h2{

    font-size:38px;

}

.welcome{

    font-size:18px;

}

}

.auth-message {
    margin-top: 18px;
    min-height: 20px;
    font-size: 14px;
    text-align: center;
    color: #ef4444;
}

.auth-message.success {
    color: #10b981;
}

.email-group{

    position:relative;

    display:flex;

    align-items:center;

    width:100%;

    height:68px;

    background:#FFFFFF;

    border:1px solid #D8E1EA;

    border-radius:16px;

    transition:.25s;

    overflow:visible;

}

.email-group:hover{

    border-color:#BFD8EA;

}

.email-group:focus-within{

    border-color:#009FE3;

    box-shadow:
    0 0 0 5px rgba(0,159,227,.15);

}

.email-group .input-icon{

    position:absolute;

    left:22px;

    color:#6B7280;

    z-index:2;

}

.email-group input{

    flex:1;

    height:100%;

    border:none;

    outline:none;

    background:transparent;

    padding-left:58px;

    padding-right:16px;

    font-size:18px;

    box-shadow:none !important;

}

.email-group input:focus{

    box-shadow:none;

}

.email-divider{

    width:1px;

    height:34px;

    background:#D8E1EA;

}

.email-domain{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:space-between;

    width:190px;

    height:100%;

    padding:0 18px;

    cursor:pointer;

    user-select:none;

    color:#0F172A;

    background:transparent;

}

.domain-arrow{

    display:flex;

    align-items:center;

    justify-content:center;

    width:22px;

    height:22px;

    color:#64748B;

    flex-shrink:0;

    transition:transform .25s ease;

}

.domain-arrow svg{

    width:18px;

    height:18px;

    display:block;

}

.email-domain.open .domain-arrow{

    transform:rotate(180deg);

}

.domain-dropdown{

    position:absolute;

    top:calc(100% + 8px);

    left:auto;

    right:-1px;

    width:190px;

    background:#FFFFFF;

    border:1px solid #D8E1EA;

    border-radius:14px;

    box-shadow:0 12px 30px rgba(15,23,42,.12);

    overflow:hidden;

    opacity:0;

    visibility:hidden;

    transform:translateY(-8px);

    transition:.22s;

    z-index:9999;

}

.email-domain.open .domain-dropdown{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.domain-option{

    padding:14px 18px;

    transition:.18s;

    font-size:15px;

    color:#0F172A;

}

.domain-option:hover{

    background:#009FE3;

    color:#FFFFFF;

}