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

body{
    font-family:"Inter", Arial, sans-serif;
    background:#f7f9fc;
    color:#111827;
}

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

.login-left{
    width:52%;
    min-height:100vh;
    background:#101a35;
    color:white;
    padding:45px 7%;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    position:relative;
    overflow:hidden;
}

.login-left::before{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:50%;
    right:-220px;
    top:-120px;
}

.login-left::after{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    border:1px solid rgba(228,188,63,0.12);
    border-radius:50%;
    left:-160px;
    bottom:-120px;
}

.brand{
    display:flex;
    align-items:center;
    gap:15px;
    position:relative;
    z-index:2;
}

.brand img{
    width:62px;
    height:62px;
    object-fit:contain;
    background:white;
    border-radius:7px;
    padding:5px;
}

.brand h2{
    font-family:Georgia,serif;
    font-size:28px;
    color:#e4bc3f;
    letter-spacing:1px;
}

.brand span{
    display:block;
    font-size:11px;
    color:#aeb6c5;
    margin-top:3px;
    letter-spacing:1px;
}

.left-content{
    max-width:600px;
    position:relative;
    z-index:2;
}

.welcome-tag{
    display:inline-block;
    background:#173f69;
    color:#e4bc3f;
    padding:8px 15px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
    letter-spacing:1px;
    margin-bottom:22px;
}

.left-content h1{
    font-family:Georgia,serif;
    font-size:54px;
    line-height:1.15;
    margin-bottom:25px;
}

.left-content h1 span{
    color:#e4bc3f;
}

.left-content > p{
    color:#bfc7d5;
    font-size:17px;
    line-height:29px;
    max-width:520px;
    margin-bottom:38px;
}

.features{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.feature{
    display:flex;
    align-items:center;
    gap:18px;
}

.feature > i{
    width:48px;
    height:48px;
    border-radius:10px;
    background:#17304e;
    color:#e4bc3f;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    flex-shrink:0;
}

.feature h3{
    font-size:16px;
    margin-bottom:5px;
}

.feature p{
    color:#8994a7;
    font-size:13px;
}

.left-bottom{
    display:flex;
    justify-content:space-between;
    color:#68748a;
    font-size:12px;
    position:relative;
    z-index:2;
    gap:15px;
}

.login-right{
    width:48%;
    min-height:100vh;
    background:#f7f9fc;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:40px;
}

.login-card{
    width:100%;
    max-width:470px;
    background:white;
    border:1px solid #e3e7ed;
    border-radius:18px;
    padding:42px;
    box-shadow:0 15px 45px rgba(15,23,42,0.08);
}

.mobile-logo{
    display:none;
}

.login-heading{
    margin-bottom:30px;
}

.login-heading h1{
    font-size:32px;
    color:#101a35;
    margin-bottom:9px;
}

.login-heading p{
    color:#697386;
    font-size:15px;
}

.login-card label{
    display:block;
    font-size:14px;
    font-weight:600;
    color:#202938;
    margin-bottom:9px;
}

.password-label{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:22px;
}

.password-label label{
    margin:0;
}

.password-label a{
    color:#1665ff;
    font-size:13px;
    text-decoration:none;
    font-weight:600;
}

.input-box{
    height:54px;
    border:1px solid #d9dee7;
    border-radius:9px;
    display:flex;
    align-items:center;
    padding:0 15px;
    transition:0.2s;
    background:white;
}

.input-box:focus-within{
    border-color:#1665ff;
    box-shadow:0 0 0 3px rgba(22,101,255,0.08);
}

.input-box > i{
    color:#8b94a4;
    margin-right:12px;
}

.input-box input{
    flex:1;
    min-width:0;
    height:100%;
    border:none;
    outline:none;
    font-size:15px;
    color:#222;
}

.input-box input::placeholder{
    color:#a1a8b3;
}

#togglePassword{
    margin:0;
    cursor:pointer;
    color:#7b8492;
}

.remember{
    margin:17px 0 23px;
}

.remember label{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0;
    color:#656e7c;
    font-weight:400;
    cursor:pointer;
}

.remember input{
    width:16px;
    height:16px;
    accent-color:#1665ff;
}

.login-button{
    width:100%;
    height:52px;
    border:none;
    border-radius:9px;
    background:#1665ff;
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    transition:0.2s;
}

.login-button:hover{
    background:#0d55dd;
    transform:translateY(-1px);
}

.divider{
    display:flex;
    align-items:center;
    gap:12px;
    margin:27px 0;
}

.divider span{
    flex:1;
    height:1px;
    background:#e4e7eb;
}

.divider p{
    color:#9aa1ac;
    font-size:12px;
}

.google-button{
    width:100%;
    height:52px;
    background:white;
    border:1px solid #d9dee7;
    border-radius:9px;
    color:#303846;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
}

.google-button i{
    font-size:18px;
}

.google-button:hover{
    background:#f8fafc;
    border-color:#bfc6d1;
}

.signup{
    text-align:center;
    margin-top:28px;
    color:#697386;
    font-size:14px;
}

.signup a{
    color:#1665ff;
    font-weight:600;
    text-decoration:none;
    margin-left:4px;
}

.login-footer{
    margin-top:25px;
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:center;
    font-size:12px;
    color:#929aa7;
}

.login-footer a{
    color:#777f8d;
    text-decoration:none;
}

.login-footer a:hover{
    color:#1665ff;
}


/* =====================================================
   RESPONSIVE DESIGN
   Desktop → Laptop → Tablet → Mobile
   ===================================================== */

html,
body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}


/* ================= LAPTOP ================= */

@media (max-width:1200px){

    .login-left{
        width:50%;
        padding:40px 5%;
    }

    .login-right{
        width:50%;
        padding:30px;
    }

    .left-content h1{
        font-size:46px;
    }

    .left-content > p{
        font-size:16px;
        line-height:26px;
    }

    .login-card{
        max-width:450px;
        padding:35px;
    }
}


/* ================= TABLET ================= */

@media (max-width:992px){

    .login-page{
        min-height:100vh;
    }

    .login-left{
        width:45%;
        padding:35px 4%;
    }

    .login-right{
        width:55%;
        padding:25px;
    }

    .brand img{
        width:55px;
        height:55px;
    }

    .brand h2{
        font-size:24px;
    }

    .left-content h1{
        font-size:38px;
        line-height:1.15;
    }

    .left-content > p{
        font-size:15px;
        line-height:24px;
        margin-bottom:28px;
    }

    .feature{
        gap:12px;
    }

    .feature > i{
        width:42px;
        height:42px;
        font-size:17px;
    }

    .feature h3{
        font-size:14px;
    }

    .feature p{
        font-size:11px;
    }

    .login-card{
        padding:30px 25px;
        border-radius:15px;
    }

    .login-heading h1{
        font-size:28px;
    }
}


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

@media (max-width:768px){

    .login-page{
        display:block;
        min-height:100vh;
    }

    /* Left section becomes top section */

    .login-left{
        width:100%;
        min-height:auto;
        padding:30px 22px 35px;
        display:block;
    }

    .login-left::before{
        width:280px;
        height:280px;
        right:-150px;
        top:-100px;
    }

    .login-left::after{
        width:220px;
        height:220px;
        left:-130px;
        bottom:-100px;
    }

    .brand{
        justify-content:center;
        margin-bottom:35px;
    }

    .brand img{
        width:55px;
        height:55px;
    }

    .brand h2{
        font-size:24px;
    }

    .left-content{
        max-width:none;
        text-align:center;
    }

    .welcome-tag{
        font-size:10px;
        padding:7px 12px;
        margin-bottom:17px;
    }

    .left-content h1{
        font-size:34px;
        line-height:1.18;
        margin-bottom:18px;
    }

    .left-content > p{
        max-width:none;
        font-size:14px;
        line-height:23px;
        margin-bottom:25px;
    }

    .features{
        gap:13px;
        text-align:left;
    }

    .feature{
        gap:12px;
    }

    .feature > i{
        width:40px;
        height:40px;
        min-width:40px;
        font-size:16px;
    }

    .feature h3{
        font-size:14px;
    }

    .feature p{
        font-size:11px;
        line-height:17px;
    }

    .left-bottom{
        margin-top:30px;
        font-size:10px;
        justify-content:center;
        flex-wrap:wrap;
    }

    /* Login section */

    .login-right{
        width:100%;
        min-height:auto;
        padding:35px 15px 30px;
        justify-content:flex-start;
    }

    .login-card{
        max-width:500px;
        padding:28px 20px;
        border-radius:14px;
        box-shadow:0 8px 25px rgba(15,23,42,0.07);
    }

    .mobile-logo{
        display:flex;
        justify-content:center;
        margin-bottom:20px;
    }

    .mobile-logo img{
        width:55px;
        height:55px;
        object-fit:contain;
    }

    .login-heading{
        text-align:center;
        margin-bottom:25px;
    }

    .login-heading h1{
        font-size:27px;
        line-height:34px;
    }

    .login-heading p{
        font-size:13px;
        line-height:20px;
    }

    .login-card label{
        font-size:13px;
    }

    .input-box{
        height:50px;
        padding:0 12px;
    }

    .input-box input{
        font-size:14px;
    }

    .password-label{
        margin-top:18px;
    }

    .password-label a{
        font-size:12px;
    }

    .remember{
        margin:15px 0 20px;
    }

    .remember label{
        font-size:12px;
    }

    .login-button,
    .google-button{
        height:50px;
        font-size:14px;
    }

    .divider{
        margin:22px 0;
    }

    .signup{
        margin-top:22px;
        font-size:13px;
    }

    .login-footer{
        margin-top:20px;
        font-size:11px;
        flex-wrap:wrap;
    }
}


/* ================= SMALL MOBILE ================= */

@media (max-width:480px){

    .login-left{
        padding:25px 15px 30px;
    }

    .brand{
        margin-bottom:28px;
    }

    .brand img{
        width:48px;
        height:48px;
    }

    .brand h2{
        font-size:21px;
    }

    .brand span{
        font-size:9px;
    }

    .welcome-tag{
        font-size:9px;
        letter-spacing:.5px;
    }

    .left-content h1{
        font-size:28px;
        line-height:34px;
    }

    .left-content > p{
        font-size:13px;
        line-height:21px;
    }

    .feature h3{
        font-size:13px;
    }

    .feature p{
        font-size:10px;
    }

    .login-right{
        padding:25px 10px;
    }

    .login-card{
        padding:24px 15px;
    }

    .login-heading h1{
        font-size:24px;
        line-height:30px;
    }

    .login-heading p{
        font-size:12px;
    }

    .input-box{
        height:48px;
    }

    .login-button,
    .google-button{
        height:48px;
        font-size:13px;
    }

    .login-footer{
        gap:8px;
        font-size:10px;
    }
}