/* =====================================
   SPLIT LOGIN – CONVENTION POS
   Base color: #1d2a3a
   ===================================== */

*{
    box-sizing: border-box;
    font-family: "Inter", system-ui, sans-serif;
}

body{
    margin: 0;
    background: #eef2f6;
}

/* ===== Container ===== */
.auth-container{
    display: flex;
    min-height: 100vh;
}

/* ===== LEFT PANEL ===== */
.auth-left{
    flex: 1;
    background: linear-gradient(135deg,#1d2a3a,#314a63);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.brand-box{
    max-width: 360px;
}

.brand-box img{
    width: 200px;
}

.brand-box h1{
    margin: 0 0 10px;
    font-size: 26px;
    letter-spacing: .6px;
}

.brand-box p{
    font-size: 14px;
    line-height: 1.6;
    color: #d1d9e2;
}

/* ===== RIGHT PANEL ===== */
.auth-right{
    flex: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.auth-right h2{
    margin: 0;
    font-size: 24px;
    color: #1d2a3a;
}

.auth-right .sub{
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 22px;
}

/* ===== Error ===== */
.error{
    background: #fff1f1;
    color: #b42318;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
    border: 1px solid #ffd4d4;
}

/* ===== Form ===== */
label{
    font-size: 13px;
    font-weight: 600;
    color: #1d2a3a;
    margin-bottom: 6px;
    display: block;
}

input{
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #d6dbe1;
    background: #f9fafb;
    font-size: 14px;
    margin-bottom: 16px;
}

input:focus{
    outline: none;
    border-color: #1d2a3a;
    background: #fff;
    box-shadow: 0 0 0 .18rem rgba(29,42,58,.25);
}

/* ===== Button ===== */
button{
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg,#1d2a3a,#324b66);
    cursor: pointer;
}

button:hover{
    opacity: .95;
}

/* ===== Footer ===== */
.footer{
    margin-top: 26px;
    font-size: 12px;
    color: #6b7280;
}



/* ===== Forgot Password ===== */
.forgot-wrap{
    text-align: right;
    margin: -6px 0 18px;
}

.forgot-wrap a{
    font-size: 13px;
    color: #1d2a3a;
    font-weight: 600;
    text-decoration: none;
    opacity: .8;
}

.forgot-wrap a:hover{
    opacity: 1;
    text-decoration: underline;
}


/* =========================
   MOBILE LOGIN FIX
   ========================= */

.mobile-brand {
    display: none;
}

@media (max-width: 768px) {

    .auth-left {
        display: none;
    }

    .auth-right {
        width: 100%;
        padding: 40px 20px;
        background: #ffffff;
    }

    .auth-right > h2,
    .auth-right > .sub {
        display: none;
    }

    .mobile-brand {
        display: block;
        text-align: center;
        margin-bottom: 30px;
    }

    .mobile-brand h1 {
        font-size: 26px;
        line-height: 1.3;
        font-weight: 600;
        color: #1d2a3a;
        margin-bottom: 10px;
    }

    .mobile-brand p {
        font-size: 14px;
        color: #6b7280;
    }

    .auth-right input {
        height: 52px;
        font-size: 15px;
        border-radius: 6px;
    }

    .auth-right button {
        height: 54px;
        font-size: 16px;
        border-radius: 6px;
    }

    .footer {
        text-align: center;
        font-size: 13px;
        margin-top: 30px;
        color: #6b7280;
    }

.mobile-brand img{
        max-height: 64px;
        object-fit: contain;
    }

    /* Title */
    .mobile-brand h1{
        font-size: 18px;
        font-weight: 600;
        color: #1d2a3a;
        margin: 0 0 8px;
        line-height: 1.4;
    }


    /* auth-right এর ভেতরের direct logo hide */
    .auth-right > img {
        display: none !important;
    }

}

.auth-right img{
        max-height: 64px;
        object-fit: contain;
    }