/* Reset Password */
.reset_password_wrapper { margin:0 auto; max-width:360px; width:100%; padding: 0 15px;}


/* Constrain to viewport so no scroll on smaller screens */
html.login-html,
html.login-html body { height: 100%; margin: 0; overflow: hidden; -webkit-text-size-adjust: 100%; }
.login_page_wrapper { 
    height: 100vh;
    height: 100dvh; /* dynamic viewport on mobile */
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    overflow: hidden;
    box-sizing: border-box;
}
.login_page_wrapper .div_container {  
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    min-height: 0;
    box-sizing: border-box;
}

.login_page_wrapper .div_flex { align-items: center; column-gap: 24px; flex: 1; min-height: 0; }
.login_page_wrapper .left_content { width: 50%; min-width: 0; flex-shrink: 0; }
/* Image and logo must never overlay: image is only in .right_image, logo only in .left_content */
.login_page_wrapper .right_image { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 0;
}
.login_page_wrapper .left_content {
    position: relative;
    z-index: 1;
    background: #fff;
}
.login_page_wrapper .right_image img { 
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 40px);
    object-fit: cover;
    object-position: center;
    display: block;
}

.div_container { max-width: 1400px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.login_page_wrapper .div_container { padding: 0 16px; }
.login_page_wrapper .form_section { max-width: 360px; width: 100%; margin: 0 auto; }
.login_page_wrapper .form_section .logo {display:block;margin-bottom:80px;}

.reset_password_wrapper h3,
.login_page_wrapper .form_section h3 {

    color:  #404040;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px; /* 122.222% */
    letter-spacing: -0.72px;
    margin-bottom:12px;
}


.reset_password_wrapper p,
.login_page_wrapper .form_section p {
    color:  #808080;
    font-size: 16px;
    line-height: 24px; /* 150% */
} 
.reset_password_wrapper label,
.login_page_wrapper .form_section label {
    color:  #404040;
    font-size: 14px;
}

.reset_password_wrapper .form-block,
.login_page_wrapper .form_section  .form-block { display:block;margin-bottom:20px; width:100%; }
.login_page_wrapper .form_section  .form-flex { display:flex; align-items: center; justify-content: space-between;}

.reset_password_wrapper   .input-text,
.login_page_wrapper .form_section .input-text {
    border-radius: 5px;
    border: 1px solid  #D9D9D9;
    background-color:  #FFF !important;
    width:100%; 
    display:block;
    padding: 12px;
    box-sizing: border-box;
    color:#404040;
    font-size: 14px;
    font-weight: 400;

}
.reset_password_wrapper .input-submit,
.login_page_wrapper .form_section .input-submit {
    border-radius: 8px;
    border: 1px solid #2480C3;
    background-color:  #2480C3;
    color:#fff;
    width:100%;
    padding: 12px 16px;
    /* Shadows/shadow-xs */
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    margin-top:24px;
    margin-bottom:50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    /*font-family: "Roboto", sans-serif;*/
     font-family: 'Roboto';

}



.login_page_wrapper .form_section   .checkbox { margin-right:8px; width:16px; height:16px; }
.login_page_wrapper .form_section   span {float:left;}
.login_page_wrapper .form_section .checkbox_text { 

    color: #404040;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
}

.login_page_wrapper .form_section .forget_text { 
    color: #2480C3;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
}




.login_page_wrapper .right_image img { width:100%; }

.login_page_wrapper .form_section .vlogin-link { 

        border-radius: 8px;
        padding: 10px 16px;
        border: 1px solid  #2480C3;
        /* Shadows/shadow-xs */
        box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
        font-size: 16px;
        font-weight: 600;
        color:#2480C3;
        width:100%;
        display:block;
        text-align:center;
        font-style: normal;
        box-sizing: border-box;
        line-height: 22px;
        letter-spacing: 0.5px;

}



.reset_logo {
    display: flex;
    width: 56px;
    justify-content: center;
    margin: 0 auto;
    padding: 14px 0;
    border-radius: 12px;
    border: 1px solid #F2F2F2;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}
.reset_password_wrapper h3 {
    font-size: 30px;
    text-align:center;
    line-height: 38px;
    letter-spacing: 0px;
    margin-bottom:25px;
}
.reset_password_wrapper p {text-align:center; margin-bottom:30px;}
.reset_password_wrapper .logo { width:100%; display:block; text-align: center;}
.reset_password_wrapper .input-submit { margin-top:5px; font-weight: 600; letter-spacing: 1px; margin-bottom: 25px;}
.reset_password_wrapper .input-text::placeholder { color:#D9D9D9; }
.back-link { 
    display:flex; 
    column-gap: 10px; 
    justify-content: center; 
    align-items: center;
    color:  #404040;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
}

/* Tablet: keep side-by-side, just reduce gap a bit more */
@media only screen and (max-width: 1024px) {
    .login_page_wrapper .div_container { padding: 0 12px; }
    .login_page_wrapper .div_flex { column-gap: 16px; }
}

/* Responsive Mobile CSS Layout - stack only on small screens; image and logo never overlay */
@media only screen and (max-width: 768px) {
    .login_page_wrapper .div_flex { 
        display: flex;
        flex-direction: column-reverse;
        min-height: 0;
        flex: 1;
        justify-content: center;
    }
    .login_page_wrapper .right_image {
        width: 100%;
        max-height: 38vh;
        flex-shrink: 0;
        margin-bottom: 0;
    }
    .login_page_wrapper .right_image img {
        max-height: 38vh;
        display: block;
        vertical-align: bottom;
    }
    .login_page_wrapper .left_content {
        width: 100%;
        flex: 1;
        min-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        padding-top: 24px;
        margin-top: 0;
        border-top: 1px solid #eee;
    }
    .login_page_wrapper .form_section {
        background: #fff;
    }
    .login_page_wrapper .form_section .logo {
        margin-bottom: 20px;
        text-align: center;
    }
    .reset_password_wrapper h3, 
    .login_page_wrapper .form_section h3 { text-align: center; }
    .reset_password_wrapper p, .login_page_wrapper .form_section p { text-align: center; }
}

/* Mobile size */
@media only screen and (max-width: 768px) {
    .login_page_wrapper {
        padding: 12px 0;
        height: 100vh;
        height: 100dvh;
    }
    .login_page_wrapper .left_content {
        width: 100%;
        padding: 24px 16px 0;
        background: #fff;
        border-top: 1px solid #eee;
    }
    .login_page_wrapper .form_section {
        max-width: 100%;
        padding: 0 8px;
    }
    .login_page_wrapper .right_image img {
        max-height: 28vh;
    }
    .login_page_wrapper .right_image {
        max-height: 28vh;
        margin-bottom: 12px;
    }
    .login_page_wrapper .form_section .logo {
        margin-bottom: 12px;
    }
    .login_page_wrapper .form_section .logo img {
        max-height: 40px;
        width: auto;
    }
    .reset_password_wrapper h3,
    .login_page_wrapper .form_section h3 {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 8px;
    }
    .login_page_wrapper .form_section p {
        font-size: 14px;
        margin-bottom: 16px;
    }
    .login_page_wrapper .form_section .form-block {
        margin-bottom: 14px;
    }
    .login_page_wrapper .form_section .input-submit {
        margin-top: 16px;
        margin-bottom: 20px;
    }
    .login_page_wrapper .form_section .divider.mt-20.mb-30 {
        margin-top: 12px;
        margin-bottom: 12px;
    }
    .login_page_wrapper .form_section .vlogin-link.mt-30 {
        margin-top: 12px;
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Small mobile: compact further and hide secondary block to prevent overflow */
@media only screen and (max-width: 480px) {
    .login_page_wrapper .right_image img,
    .login_page_wrapper .right_image {
        max-height: 22vh;
    }
    .login_page_wrapper .form_section .logo {
        margin-bottom: 8px;
    }
    .login_page_wrapper .form_section .logo img {
        max-height: 36px;
    }
    .login_page_wrapper .form_section h3 {
        font-size: 22px;
        line-height: 28px;
    }
    /* Hide Virtuous Dashboard block to keep single viewport, no scroll */
    .login_page_wrapper .form_section .divider.mt-20.mb-30,
    .login_page_wrapper .form_section .divider + h3,
    .login_page_wrapper .form_section .vlogin-link.mt-30 {
        display: none;
    }
}

/* Two-Factor Authentication Styles */
.login_page_wrapper .form_section .input-2fa-code {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 8px;
    font-family: 'Courier New', monospace;
    padding: 16px;
    text-transform: uppercase;
}

.login_page_wrapper .form_section .input-2fa-code::placeholder {
    color: #D9D9D9;
    opacity: 0.6;
    letter-spacing: 8px;
}

.login_page_wrapper .form_section .input-2fa-code:focus {
    border-color: #2480C3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(36, 128, 195, 0.1);
}

.login_page_wrapper .form_section .resend-code-link {
    background: none;
    border: none;
    color: #2480C3;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-family: inherit;
}

.login_page_wrapper .form_section .resend-code-link:hover {
    color: #1a5d8f;
    text-decoration: none;
}

.login_page_wrapper .form_section .back-to-login-link {
    color: #404040;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.login_page_wrapper .form_section .back-to-login-link:hover {
    color: #2480C3;
    text-decoration: underline;
}