/* ==========================================
   LOGIN PAGE START
========================================== */

.login-page{

    background:#081321;

    min-height:100vh;

    display:flex;

    align-items:center;
    justify-content:center;

    /*
       Fixed Navbar-এর নিচে এবং
       Login Box-এর উপরে/নিচে যথেষ্ট spacing
    */
    padding:50px 15px;

    box-sizing:border-box;

}


/* ==========================================
   LOGIN BOX
========================================== */

.login-box{

    width:100%;

    max-width:500px;

    /*
       Top + Bottom margin
       যাতে box অন্য content-এর সাথে লেগে না যায়
    */
    margin:40px auto;

    background:#13233D;

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:45px;

    box-shadow:0 30px 80px rgba(0,0,0,.35);

    box-sizing:border-box;

}


/* ==========================================
   LOGIN HEADER
========================================== */

.login-header{

    text-align:center;

    margin-bottom:35px;

}


.login-header h2{

    color:#fff;

    font-size:36px;

    margin:0 0 10px 0;

}


.login-header p{

    color:#9CB0CC;

    font-size:16px;

    margin:0;

}


/* ==========================================
   FORM
========================================== */

.form-group{

    margin-bottom:22px;

}


.form-group label{

    display:block;

    color:#fff;

    margin-bottom:8px;

    font-size:15px;

    font-weight:500;

}


.form-group input{

    width:100%;

    height:55px;

    padding:0 18px;

    background:#0B1627;

    border:1px solid rgba(255,255,255,.08);

    border-radius:12px;

    color:#fff;

    font-size:15px;

    outline:none;

    transition:.3s;

    box-sizing:border-box;

}


.form-group input:focus{

    border-color:#0B3D91;

    box-shadow:
        0 0 0 3px
        rgba(11,61,145,.18);

}


.form-group input::placeholder{

    color:#70839F;

}


/* ==========================================
   LOGIN BUTTON
========================================== */

.login-btn{

    width:100%;

    height:55px;

    margin-top:10px;

    font-size:16px;

}


/* ==========================================
   LOGIN FOOTER
========================================== */

.login-footer{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:5px;

    text-align:center;

    margin-top:25px;

    color:#9CB0CC;

}


.login-footer .account-text{

    color:#9CB0CC;

}


.login-footer a{

    color:#39A8FF;

    text-decoration:none;

    font-weight:600;

}


.login-footer a:hover{

    text-decoration:underline;

}


/* ==========================================
   FORGOT PASSWORD
========================================== */

.forgot-password-row{

    display:flex;

    justify-content:center;

    width:100%;

    margin-top:9px;

}


.forgot-password-link{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:5px;

    color:#94a3b8;

    font-size:13px;

    line-height:1.4;

    text-decoration:none;

    text-align:center;

    transition:color .2s ease;

}


.forgot-password-link .reset-text{

    color:#60a5fa;

    font-weight:600;

}


.forgot-password-link:hover{

    color:#cbd5e1;

}


.forgot-password-link:hover .reset-text{

    color:#93c5fd;

}


/* ==========================================
   TABLET
========================================== */

@media(max-width:768px){

    .login-page{

        padding:45px 15px;

    }


    .login-box{

        margin:35px auto;

    }

}


/* ==========================================
   MOBILE
========================================== */

@media(max-width:576px){

    .login-page{

        /*
           Mobile-এও Navbar-এর নিচে
           এবং Footer-এর আগে যথেষ্ট space
        */
        padding:30px 15px;

    }


    .login-box{

        padding:30px 22px;

        margin:30px auto;

        border-radius:16px;

    }


    .login-header{

        margin-bottom:30px;

    }


    .login-header h2{

        font-size:28px;

    }


    .login-header p{

        font-size:15px;

    }


    /* ======================================
       LOGIN FOOTER MOBILE
    ====================================== */

    .login-footer{

        flex-direction:column;

        align-items:center;

        justify-content:center;

        gap:2px;

        width:100%;

        text-align:center;

        margin-top:25px;

    }


    .login-footer .account-text{

        display:block;

        width:100%;

        text-align:center;

    }


    .login-footer a{

        display:block;

        text-align:center;

    }


    /* ======================================
       FORGOT PASSWORD MOBILE
    ====================================== */

    .forgot-password-row{

        margin-top:8px;

        width:100%;

    }


    .forgot-password-link{

        flex-direction:column;

        align-items:center;

        justify-content:center;

        width:100%;

        gap:1px;

        font-size:12.5px;

        line-height:1.5;

    }


    .forgot-password-link .forgot-text,
    .forgot-password-link .reset-text{

        display:block;

        text-align:center;

    }

}


/* ==========================================
   VERY SMALL MOBILE
========================================== */

@media(max-width:380px){

    .login-page{

        padding:25px 12px;

    }


    .login-box{

        padding:26px 18px;

        margin:25px auto;

    }


    .login-header h2{

        font-size:25px;

    }


    .login-header p{

        font-size:14px;

    }


    .login-footer{

        font-size:13px;

    }


    .forgot-password-link{

        font-size:12px;

    }

}


/* ==========================================
   REGISTER EXTRA
========================================== */

.checkbox-label{

    display:flex;

    align-items:flex-start;

    gap:10px;

    color:#9CB0CC;

    font-size:14px;

    line-height:1.6;

    cursor:pointer;

}


.checkbox-label input{

    margin-top:4px;

    width:18px;

    height:18px;

    accent-color:#0B3D91;

}


.checkbox-label a{

    color:#39A8FF;

    text-decoration:none;

}


.checkbox-label a:hover{

    text-decoration:underline;

}


/* ==========================================
   REGISTER PAGE EXTRA
========================================== */

.form-group label span{

    color:#39A8FF;

}


.form-group label small{

    color:#9CB0CC;

    font-size:13px;

    font-weight:400;

    margin-left:4px;

}


.referral-note{

    display:block;

    margin-top:10px;

    color:#8FA4C3;

    font-size:13px;

    line-height:1.6;

}


/* ==========================================
   SUCCESS MESSAGE
========================================== */

.success-message{

    background:#143D26;

    color:#8FF0A4;

    border:1px solid #2F8F4E;

    padding:14px;

    border-radius:10px;

    margin-bottom:20px;

    text-align:center;

}


/* ==========================================
   ERROR MESSAGE
========================================== */

.error-message{

    background:#441D1D;

    color:#FFB4B4;

    border:1px solid #C94B4B;

    padding:14px;

    border-radius:10px;

    margin-bottom:20px;

    text-align:center;

}


/* ==========================================
   LOGIN PAGE END
========================================== */