@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


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

html, body {
    width: 100%;
    height: 100vh;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

a {
    text-decoration: none;
}

/* Header with Logo */
.header {
    display: none;
}

/* Main Container */
.container__main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.Pad {
    min-height: 80vh;
    max-width: 900px;
    display: flex;
    justify-content: center;
    background: transparent;
    align-items: center;
}

/* Panel Container - Two Column Layout */
.panel {
    width: 100%;
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    min-height: 550px;
}

/* Left Section - Login Form */
.login_form {
    width: 50%;
    justify-content: center;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
    padding: 0px 55px;
    justify-content: center;
    align-items: center;
}

/* Logo and Title */
.form__tittle::before {
    content: '';
    display: block;
    width: 250px;
    height: 100px;
    background: url('logo_2025.png') no-repeat center top;
    background-size: contain;
    margin: 0 auto 25px auto;
}

.form__tittle {
    font-size: 28px;
    font-weight: 600;
    color: #595F6C;
    margin: 0 0 7px 0;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

    /* Instruction text below LOGIN title */
    .form__tittle::after {
        content: 'Please enter your User ID and Password';
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 4px;
        font-size: 14px;
        color: #595F6C;
        font-weight: 400;
        letter-spacing: 0;
    }

#logonPanel .content .double-line {
    display: none;
}

/* Error Container Positioning - Only for main login panel */
#logonPanel .form__tittle {
    order: 1;
}

#logonPanel #loginErrContainer {
    order: 3;
    margin-top: 6px;
    margin-bottom: 10px;
    width: 100%;
}

/* All other form elements in login panel */
#logonPanel .input-wrapper,
#logonPanel .forgot-pass-lnk,
#logonPanel .submit,
#logonPanel #divreCaptcha,
#logonPanel #browserWarning {
    order: 3;
}

/* Input Fields */
.labels {
    align-self: flex-start;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    margin-left: 0;
}

.input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.email, .pass {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 2px solid #99A8B5;
    border-radius: 20px;
    font-size: 14px;
    color: #374151e6;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.input-wrapper::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.input-wrapper[data-icon="person"]::before {
    background-image: url('username.png');
}

.input-wrapper[data-icon="lock"]::before {
    background-image: url('password.png');
}

.email:focus, .pass:focus {
    border: 2px solid #2F7CB0;
}

.email::placeholder, .pass::placeholder {
    color: #9ca3af;
}

/* Submit Button */
.submit {
    width: 50%;
    height: 35px;
    background: linear-gradient(90deg, #2F7CB0 0%, #6392BE 100%);
    border: none;
    border-radius: 20px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .submit:hover {
        box-shadow: 0 2px 5px rgba(30, 64, 175, 0.4);
        transform: translateY(-2px);
    }

    .submit:active {
        transform: translateY(0);
    }

/* Forgot Password Link */
.forgot-pass-lnk {
    align-self: center;
    color: #6392BE;
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

    .forgot-pass-lnk:hover {
        transform: translateY(-1.4px);
    }

/* Right Section - Welcome Panel */
.content {
    font-family: "Montserrat", sans-serif;
    flex: 1;
    background: url('Ti2025BG.png') center;
    background-size: cover;
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #ffffff;
    margin: 0;
}

.content_2 {
    display: none;
}

.text_container {
    margin: 0;
    padding: 25px;
}

.text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.welcome {
    text-align: center;
    font-size: 35px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    text-transform: uppercase;
}

.double-line {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-align: center;
}

.line:last-of-type {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 0;
    border: 1px solid #ffff;
    border-radius: 10px;
    padding: 10px;
}

.colored-text {
    color: #ffffff;
}

.content .colored-text {
    font-weight: 600;
    text-decoration: underline;
}

    .content .colored-text:hover {
        color: #e0e7ff;
    }

/* Error Messages */
.error_text {
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 0;
    display: block;
    text-align: center;
}

/* Browser Warning */
#browserWarning.colored-text {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 12px;
    margin-top: 20px;
    font-size: 12px;
    color: #92400e;
    text-decoration: none;
    display: block;
}

/* Hide HR in all layouts */
hr.line {
    display: none !important;
}

/* Footer */
.footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    border: none;
    bottom: 0;
}

.footer_menu {
    display: none;
}

.copyright {
    color: #9ca3af;
    font-size: 12px;
    padding: 0;
    text-align: center;
}

/* Password Strength Indicators */
.Poor {
    background-color: #dc2626;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
    display: inline-block;
}

.Weak {
    background-color: #ea580c;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
    display: inline-block;
}

.Average {
    background-color: #f59e0b;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
    display: inline-block;
}

.Excellent {
    background-color: #84cc16;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
    display: inline-block;
}

.Strong {
    background-color: #16a34a;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
    display: inline-block;
}

/* Duo iframe */
#duo_iframe {
    width: 0;
    height: 0;
    display: none;
}

/* Captcha Container */
#divreCaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.g-recaptcha {
    margin: 0 auto;
}

.RadCaptcha .text {
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

/* Responsive Utility Classes */
.hide-xs, .hide-sm, .hide-md {
    display: none;
}

/*ForgotPassword*/
#forgotPwdPanel {
    min-width: 350px;
    max-height: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
#forgotPwdPanel .login_form {
    width: 100%;
}
    #forgotPwdPanel .login_form .form .text {
        font-size: 14px;
        color: #374151;
        margin-bottom: 10px;
    }
    #forgotPwdPanel .login_form .form__tittle::after {
        display: none;
    }
    #forgotPwdPanel .login_form .form .forgot-pass-lnk {
        margin-top: 25px;
        margin-bottom: 0;
    }
    #forgotPwdPanel .login_form .form .form__tittle {
        font-size: 22px;
    }
#lblResetPwdMsg{
    margin-bottom: 15px;
}

#changePasswordPanel {
    min-width: 370px;
    max-height: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

    #changePasswordPanel .login_form {
        width: 100%;
    }

        #changePasswordPanel .login_form .form .text {
            font-size: 14px;
            color: #374151;
            margin-bottom: 10px;
        }
        #changePasswordPanel .login_form .form__tittle{
            font-size: 17px;
        }
        #changePasswordPanel .login_form .form__tittle::after {
            display: none;
        }

        #changePasswordPanel .login_form .form .forgot-pass-lnk {
            margin-top: 25px;
            margin-bottom: 0;
        }
        #changePasswordPanel .login_form .form .email,
        #changePasswordPanel .login_form .form .pass {
            padding: 10px;
        }
        /* Show on larger screens */
        @media (min-width: 875px) {
            .hide-xs, .hide-sm, .hide-md {
        display: block;
    }

    .hide-xl {
        display: none;
    }

    /* Keep hr hidden on desktop */
    hr.line {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 874px) {
    html, body {
        overflow-y: scroll;
    }
    /* Hide logo in form title at this breakpoint */
    .form__tittle::before {
        display: none !important;
    }

    .panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

    .login_form {
        width: 100%;
        order: 2;
        display: flex;
        flex-direction: column;
    }

    .form {
        padding: 0 25px;
    }
    /* Show logo at top of panel */
    .panel::before {
        content: '';
        display: block;
        width: 200px;
        height: 100px;
        background: url('logo_2025.png') no-repeat center top;
        background-size: contain;
        margin: 25px auto 0 auto;
    }

    .content::before {
        display: none !important;
    }

    .content {
        width: 100%;
        order: 1;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        color: #5a6b8f;
        background: none !important;
        flex: none;
        margin: 0;
        float: none;
    }

    .text_container {
        max-width: 100%;
    }

    .text {
        font-size: 16px;
        color: #5a6b8f;
        text-align: center;
    }

    .double-line {
        font-size: 14px;
        color: #5a6b8f;
        margin-bottom: 10px;
        text-align: center;
    }

    .line {
        color: #5a6b8f;
        text-align: center;
        font-size: 16px;
    }

    .content .colored-text {
        color: #0b2a7b;
        text-decoration: underline;
    }

        .content .colored-text:hover {
            color: #183EA1;
        }

    .content_2 {
        display: flex !important;
        order: 3;
        background: none !important;
        justify-content: center;
        align-items: center;
        font-family: 'Poppins', sans-serif;
        flex: none;
    }

        .content_2 .text_container {
            max-width: 100%;
        }

        .content_2 .text {
            text-align: center;
            color: #5a6b8f;
            font-size: 12px;
        }

        .content_2 .line {
            color: #5a6b8f;
            font-size: 12px;
        }

        .content_2 .colored-text {
            color: #0b2a7b;
            text-decoration: underline;
        }

            .content_2 .colored-text:hover {
                color: #183EA1;
            }

    copyright {
        margin-top: 10px;
    }
    /* Show hide-xl content, hide hide-md content */
    .hide-md {
        display: none !important;
    }

    .hide-xl {
        display: block !important;
    }
}
