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

body{
    font-family:Arial, sans-serif;
    background:#f4f7fc;
}

/* ======================================================
LOGIN CONTAINER
====================================================== */

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

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

.left-panel{
    width:50%;
    background:#142f86;
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:40px;
    text-align:center;
}

.left-panel img{
    width:180px;
    max-width:100%;
    background:white;
    padding:12px;
    border-radius:14px;
    object-fit:contain;
}

.left-panel h1{
    margin-top:25px;
    font-size:34px;
    font-weight:700;
}

.left-panel p{
    margin-top:12px;
    font-size:18px;
    color:#dbeafe;
    line-height:1.6;
}

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

.right-panel{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:white;
    padding:40px;
}

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

form{
    width:100%;
    max-width:420px;
}

form h2{
    margin-bottom:30px;
    color:#142f86;
    font-size:34px;
    font-weight:700;
}

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

input,
select{
    width:100%;
    padding:15px;
    margin-top:15px;
    border:1px solid #cbd5e1;
    border-radius:10px;
    font-size:16px;
    background:white;
    transition:0.3s;
}

input:focus,
select:focus{
    outline:none;
    border-color:#142f86;
    box-shadow:0 0 0 3px rgba(20,47,134,0.1);
}

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

button{
    width:100%;
    padding:15px;
    margin-top:22px;
    background:#142f86;
    color:white;
    border:none;
    border-radius:10px;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
    font-weight:600;
}

button:hover{
    background:#0f2363;
}

/* ======================================================
ERROR MESSAGE
====================================================== */

.error{
    background:#fee2e2;
    color:#b91c1c;
    padding:14px;
    border-radius:10px;
    margin-bottom:18px;
    font-size:15px;
}

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

@media(max-width:900px){

    .login-container{
        flex-direction:column;
    }

    .left-panel{
        width:100%;
        padding:50px 20px;
    }

    .right-panel{
        width:100%;
        padding:40px 25px;
    }

    form{
        max-width:100%;
    }

    .left-panel img{
        width:140px;
    }

    .left-panel h1{
        font-size:28px;
    }

    form h2{
        font-size:28px;
        text-align:center;
    }
}
/* ======================================================
BACK BUTTON
====================================================== */

.back-btn{
    display:inline-block;
    margin-bottom:20px;
    color:#142f86;
    text-decoration:none;
    font-weight:600;
    font-size:15px;
}

.back-btn:hover{
    text-decoration:underline;
}