/* Main wrapper */
.login-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #fff;
}

/* Background image with opacity */
/*.bg-layer {
    position: absolute;
    inset: 0;
    background: url('/images/chat_bot_login_bg.png') no-repeat left center;
    background-size: cover;
    opacity: 0.25; 
    z-index: 0;
}
*/
.login-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/images/chat_bot_login_bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0.25; 
    z-index: 0;
}


.leftbox,
.loginw {
    position: absolute;
    z-index: 2;
}


.leftbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
}


.loginw {
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    width: 615px;
    z-index: 2;
}


.login-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    padding: 42px 40px 35px;
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.login-title {
    font-size: 22px;
    text-transform: uppercase;
}

.login-logo-wrap img {
    max-width: 240px;
}


.input-group {
    margin-bottom: 25px;
}


.btn-login {
    height: 55px;
    border-radius: 8px;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 20px;
}

.ypologo {
    width: 130px;
}

/* ===== 13-inch fix ===== */

@media screen and (min-width: 992px) and (max-width: 1400px) {
    .loginw {
        right: 25px;
        width: 550px;
    }
	
	.bg-layer {
        background-position: 15% center;
    }
}
/* ===== Tablet ===== */
@media (max-width: 991px) {
    .leftbox {
        display: none;
    }

    .bg-layer {
        display: none;
    }

    .loginw {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 92%;
        max-width: 500px;
        margin: 40px auto;
    }
}

/* ===== Mobile ===== */
@media (max-width: 575px) {
    .login-card {
        padding: 25px 18px;
    }
}