body{
    margin:0;
    font-family:'Segoe UI',sans-serif;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background: white;
}

.card{
    width:400px;
    padding: 38px 38px 10px 38px;
    background:white;
    border-radius:16px;
    box-shadow:0 15px 40px rgba(0,0,0,0.1);
}

h2{
    margin-bottom:25px;
    color:#1e293b;
    text-align:center;
}

input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #cbd5e1;
    border-radius:8px;
    outline:none;
    box-sizing:border-box;
}

input:focus{
    border-color:#3b82f6;
}

button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    background: #00218c;
    color:white;
    font-weight:bold;
    cursor:pointer;
        font-size: 12px;

}

button:hover{
    opacity:0.9;
}

.success{
    color:green;
    margin-bottom:10px;
    text-align:center;
}

.error{
    color:red;
    margin-bottom:10px;
}

.back{
    margin-top:20px;
    text-align:center;
}

.back a{
    text-decoration:none;
    color:#3b82f6;
    font-size:12px;
}

.password-wrapper{
    position:relative;
    width:100%;
    margin-bottom:15px;
}

.password-wrapper input{
    margin-bottom:0;
    padding-right:45px;
}

.toggle-password{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:#64748b;
    font-size:18px;
    line-height:1;
}

.toggle-password:hover{
    color:#2563eb;
}

.password-info{
    display:block;
    margin-top:-7px;
    margin-bottom:15px;
    color:#64748b;
    font-size:13px;
}

.captcha-label{
    display:block;
    margin-bottom:8px;
    font-size:12px;
    color: #172d74;
    font-weight:800;
}

@media(max-width:768px){

    body{
        padding:24px 16px;
        box-sizing:border-box;
    }

    .card{
        width:100%;
        max-width:420px;
        padding:28px 22px;
        box-sizing:border-box;
    }

    h2{
        font-size:24px;
        line-height:1.3;
    }
}


.container{
    width:980px;
 min-height:560px;
    height:auto;
    isolation:isolate;
    
    position:relative;

    display:flex;
    justify-content:flex-end;
align-items:stretch;
    padding:0 70px;
    box-sizing:border-box;

    background:white;
    border-radius: 150px 20px 20px 20px;

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

    overflow:hidden;
                margin: 50px;

}

.container::before{
    display:none;
}

.left{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    z-index:1;

    overflow:hidden;

    display:flex;
    align-items:center;

    padding:70px;
    box-sizing:border-box;

    background-size:cover;
    background-position:center;
}

.left .circle{
    position:absolute;

    width:420px;
    height:420px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    bottom:-190px;
    left:-80px;

    z-index:2;
}
.left::after{
    content:'';
    position:absolute;
    inset:0;
    background: linear-gradient(90deg, rgba(15, 35, 111, .96) 0%, rgba(37, 99, 235, .92) 50%, rgb(37 99 235 / 62%) 78%, rgb(37 99 235 / 30%) 100%);    z-index:1;
}

.left-content{
    position:relative;
    z-index:3;

    color:white;
    max-width:360px;
}

.left-content h1{
    font-size:48px;
    line-height:1.05;
    margin:0 0 18px;
    font-weight:800;
}

.left-content p{
    font-size:15px;
    line-height:1.7;
    opacity:.95;
}

.right{
    width:390px;
    height:auto;

    position:relative;
    z-index:3;

    display:flex;
    justify-content:center;
    flex-direction:column;
    align-items:center;

    padding:40px 0;
}

.login-box{
    width:100%;
    padding: 38px 38px 10px 38px;
display:flex;
    flex-direction:column;
    justify-content:center;
    background:white;

    border-radius:24px;

    box-shadow:
        0 20px 55px rgba(15,23,42,.18);

    border:1px solid rgba(226,232,240,.9);
}

.login-box h2{
    margin-top:0;
    margin-bottom:28px;

    font-size:32px;
    font-weight:800;
    color: #172c75;
    text-align: center;
    font-family: system-ui;
}






.register{
    margin-top:20px;
    text-align:center;
}

.register p{
    color:#475569;
    font-size:14px;
    font-weight:500;
}

.register button{
    background:transparent;
    border:1px solid #94a3b8;
    color:#1e293b;
}

.register button:hover{
    background:#f1f5f9;
}

.auth-alert{
    padding:10px 14px;
    border-radius:12px;
    margin-bottom:12px;
    font-size:13px;
    line-height:1.4;
}

.auth-alert strong{
    display:block;
    margin-bottom:4px;
}

.auth-alert span{
    display:block;
}

.auth-alert.success{
    background:#ecfdf5;
    color:#15803d;
    border:1px solid #bbf7d0;
}

.auth-alert.error{
    background:#fef2f2;
    color:#b91c1c;
    border:1px solid #fecaca;
}

.forgot-password{
    text-align:right;
    margin-top:10px;
}

.forgot-password a{
    color:#2563eb;
    font-size:12px;
    text-decoration:none;
}

.captcha-box{
    margin-bottom:15px;
}

@media(max-width:768px){

    body{
        padding:18px;
        align-items:flex-start;
    }

    .container{
        width:100%;
        height:auto;
        min-height:auto;
        padding:0;
        display:block;
        border-radius:26px;
        overflow:hidden;

    }

    .left{
        position:relative;
        width:100%;
min-height:100%;        padding:28px;
        border-radius:26px 26px 0 0;
    }

    .left-content{
        max-width:240px;
    }

    .left-content h1{
        font-size:30px;
        margin-bottom:8px;
    }

    .left-content p{
        font-size:12px;
        line-height:1.5;
    }

    .left::before,
    .left .circle{
        display:none;
    }

    .left::after{
        background:linear-gradient(
            90deg,
            rgba(15,35,111,.95) 0%,
            rgba(37,99,235,.86) 100%
        );
    }

    .right{
        width:100%;
        height:auto;
        min-height:auto;
        padding:22px;
        box-sizing:border-box;
        background:white;
    }

    .login-box{
        width:100%;
        max-width:none;
        padding:0;
        border:none;
        box-shadow:none;
        border-radius:0;
    }

    .login-box h2{
        font-size:26px;
        margin-bottom:22px;
    }
}
.box{
    width:380px;
    background:white;
    padding: 38px 38px 10px 38px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.box h2{
    margin-top:0;
    color:#0f172a;
    text-align:left;
}

.box p{
    color:#64748b;
    line-height:1.6;
    font-size:14px;
}

.box input{
    padding:14px;
    border-radius:10px;
    margin-top:18px;
}

.box button{
    margin-top:18px;
    padding:14px;
    border-radius:10px;
    background:#00218d;
    font-size: 12px;
}

.box .success{
    background:#ecfdf5;
    color:#15803d;
    padding:14px;
    border-radius:12px;
    margin-bottom:18px;
    text-align:left;
    font-size: 14px;

}

.back-login{
    margin-top:20px;
    text-align:center;
}

.back-login a{
    color:#2563eb;
    font-size:12px;
    text-decoration:none;
}

@media(max-width:768px){
    .box{
        width:100%;
        max-width:420px;
        padding:28px 22px;
        box-sizing:border-box;
    }
}

.developed-by{
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.developed-by a{
    color: #747474;
    text-decoration: underline;
    font-weight: 500;
}

.developed-by a:hover{
    opacity: .8;
}

.auth-alert{
    padding:14px 16px;
    border-radius:14px;
    margin-bottom:18px;
    font-size:14px;
    line-height:1.5;
}

.auth-alert strong{
    display:block;
    margin-bottom:6px;
}

.auth-alert span{
    display:block;
}

.auth-alert.error{
    background:#fef2f2;
    color:#b91c1c;
    border:1px solid #fecaca;
}
.box .password-wrapper input{
    margin-top:0;
}

.box .password-wrapper{
    margin-top:18px;
}

.reset-error{
    margin-top:16px;
    margin-bottom:0;
}

.password-warning{
    display:none;
    margin-top:-8px;
    margin-bottom:12px;
    color:#dc2626;
    font-size:12px;
    font-weight:600;
}