/* 04-Dec-2026 Start - SS2-style login page (Unique brand colors) */
/* 04-Dec-2026 Start - Match approved screenshot layout */

#main_content {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(66, 139, 202, 0.22), transparent 55%),
        linear-gradient(165deg, #c5d5e8 0%, #e8eef6 42%, #f4f7fb 100%) !important;
}

#main_content_inner {
    background: transparent !important;
}

.login-wrap {
    max-width: 420px;
    margin: 10px auto 4px;
    padding: 26px 14px 0;
    box-sizing: border-box;
    font-family: 'PT Sans', 'Segoe UI', sans-serif;
}

.login-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(46, 58, 93, 0.08);
    box-shadow:
        0 4px 6px rgba(46, 58, 93, 0.04),
        0 14px 36px rgba(46, 58, 93, 0.14);
    overflow: visible;
}

.login-header {
    position: relative;
    background: linear-gradient(135deg, #2E3A5D 0%, #3a4d78 48%, #428bca 100%);
    min-height: 62px;
    padding: 28px 16px 10px;
    border-radius: 12px 12px 0 0;
    text-align: center;
    box-sizing: border-box;
}

/* Small avatar like screenshot */
.login-avatar {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -45%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(145deg, #5a9fd4 0%, #428bca 55%, #357ebd 100%);
    border: 2px solid #fff;
    box-shadow:
        0 3px 10px rgba(46, 58, 93, 0.3),
        0 0 0 3px rgba(66, 139, 202, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.login-avatar .fa-user {
    font-size: 18px;
    color: #fff;
    line-height: 1;
}

.login-title {
    margin: 0;
    padding: 0;
    border: none !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    font-family: 'PT Sans', 'Segoe UI', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    line-height: 1.25;
}

.login-body {
    padding: 14px 20px 14px;
    background: #fff;
    text-align: left;
    border-radius: 0 0 12px 12px;
}

.login-form-root {
    width: 100%;
}

.login-field {
    position: relative;
    margin-bottom: 10px;
}

.login-field .login-field-icon {
    position: absolute;
    left: 2px;
    bottom: 8px;
    color: #7a8ba3;
    font-size: 14px;
    width: 18px;
    text-align: center;
    pointer-events: none;
    z-index: 1;
}

.login-field:focus-within .login-field-icon {
    color: #428bca;
}

.login-field .login-label {
    display: none;
}

.login-body input[type=text],
.login-body input[type=password],
.login-body .login-input {
    width: 100% !important;
    box-sizing: border-box;
    height: 32px !important;
    padding: 5px 4px 5px 26px !important;
    font-size: 13px !important;
    font-family: 'PT Sans', 'Segoe UI', sans-serif !important;
    color: #2E3A5D !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1.5px solid #c5d0de !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    line-height: 1.3;
    outline: none !important;
}

.login-body input[type=text]:focus,
.login-body input[type=password]:focus {
    border-bottom-color: #428bca !important;
    box-shadow: 0 2px 0 0 rgba(66, 139, 202, 0.3) !important;
}

.login-body input[type=text]::placeholder,
.login-body input[type=password]::placeholder {
    color: #9aa8bc;
    opacity: 1;
}

.login-field .validator-star {
    position: absolute;
    right: 0;
    bottom: 7px;
    color: #c0392b;
    font-size: 11px;
    border: none !important;
    text-decoration: none !important;
}

/* 04-Dec-2026 Start - Password show/hide eye */
.login-field-password .login-input {
    padding-right: 36px !important;
}

.login-field-password .validator-star {
    right: 28px;
}

.login-password-toggle {
    position: absolute;
    right: 2px;
    bottom: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: #6b7f99;
    cursor: pointer;
    z-index: 2;
    line-height: 28px;
    text-align: center;
    font-size: 15px;
}

.login-password-toggle:hover,
.login-password-toggle:focus {
    color: #428bca;
    outline: none;
}

.login-password-toggle .fa {
    pointer-events: none;
}
/* 04-Dec-2026 End - Password show/hide eye */

/* Captcha box: image + refresh/audio with equal gap; nothing hidden */
.login-captcha-box {
    background: #fff;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    padding: 8px 10px 9px;
    margin-bottom: 10px;
    overflow: hidden;
}

.login-captcha-box .login-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #2E3A5D;
    margin-bottom: 6px;
}

.login-captcha-box .BDC_CaptchaDiv,
.login-captcha-box .LBD_CaptchaDiv {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    zoom: 1;
}

.login-captcha-box .BDC_CaptchaImageDiv,
.login-captcha-box .LBD_CaptchaImageDiv {
    float: left !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
}

.login-captcha-box .BDC_CaptchaImageDiv img,
.login-captcha-box .LBD_CaptchaImageDiv img {
    display: block;
    max-height: 50px;
    width: auto;
}

.login-captcha-box .BDC_CaptchaIconsDiv,
.login-captcha-box .LBD_CaptchaIconsDiv,
.login-captcha-box .BDC_CaptchaIcons,
.login-captcha-box .LBD_CaptchaIcons {
    float: left !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

/* Equal vertical space between refresh and audio; both visible */
.login-captcha-box .BDC_CaptchaIconsDiv a,
.login-captcha-box .LBD_CaptchaIconsDiv a,
.login-captcha-box .BDC_CaptchaIcons a,
.login-captcha-box .LBD_CaptchaIcons a,
.login-captcha-box a.BDC_ReloadLink,
.login-captcha-box a.LBD_ReloadLink,
.login-captcha-box a.BDC_SoundLink,
.login-captcha-box a.LBD_SoundLink,
.login-captcha-box a[id*="Reload"],
.login-captcha-box a[id*="Sound"] {
    display: block !important;
    visibility: visible !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

.login-captcha-box .BDC_CaptchaIconsDiv a:last-child,
.login-captcha-box .LBD_CaptchaIconsDiv a:last-child,
.login-captcha-box .BDC_CaptchaIcons a:last-child,
.login-captcha-box .LBD_CaptchaIcons a:last-child {
    margin-bottom: 0 !important;
}

.login-captcha-box .BDC_CaptchaIconsDiv img,
.login-captcha-box .LBD_CaptchaIconsDiv img,
.login-captcha-box .BDC_CaptchaIcons img,
.login-captcha-box .LBD_CaptchaIcons img {
    display: block;
    margin: 0;
}

.login-captcha-box:after {
    content: "";
    display: table;
    clear: both;
}

.login-captcha-box input[type=text],
.login-captcha-box .login-input {
    clear: both;
    display: block;
    margin-top: 8px;
    padding-left: 10px !important;
    background: #fff !important;
    border: 1px solid #dce3ec !important;
    border-radius: 5px !important;
    height: 32px !important;
    box-shadow: none !important;
}

.login-captcha-box input[type=text]:focus,
.login-captcha-box .login-input:focus {
    border-color: #428bca !important;
    box-shadow: 0 0 0 2px rgba(66, 139, 202, 0.18) !important;
}

.login-captcha-box span[id$="lblCaptchaCode"] {
    display: block;
    clear: both;
    margin-top: 3px;
    font-size: 11px !important;
}

.login-tc {
    font-size: 11px;
    color: #6b7a90;
    margin: 0 0 8px;
    line-height: 1.3;
}

.login-tc a {
    color: #428bca;
    text-decoration: underline;
}

/* Inline equal buttons: Login + Forgot password */
.login-actions {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-top: 2px;
}

.login-actions .btnLogin,
.login-actions input.btnLogin,
.login-actions .btnForgot,
.login-actions input.btnForgot {
    flex: 1 1 0;
    min-width: 0;
    height: 36px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-family: 'PT Sans', 'Segoe UI', sans-serif !important;
    letter-spacing: 0.3px;
    border: none !important;
    border-radius: 7px !important;
    line-height: 36px !important;
    cursor: pointer;
    width: auto !important;
    box-sizing: border-box;
}

.login-actions .btnLogin,
.login-actions input.btnLogin {
    color: #fff !important;
    background: linear-gradient(180deg, #1fc012 0%, #17A60B 55%, #148f09 100%) !important;
    box-shadow: 0 3px 10px rgba(23, 166, 11, 0.28);
}

.login-actions .btnLogin:hover {
    filter: brightness(1.05);
}

.login-actions .btnForgot,
.login-actions input.btnForgot {
    color: #fff !important;
    background: linear-gradient(180deg, #5a9fd4 0%, #428bca 55%, #357ebd 100%) !important;
    box-shadow: 0 3px 10px rgba(66, 139, 202, 0.28);
}

.login-actions .btnForgot:hover {
    filter: brightness(1.05);
}

.login-error {
    text-align: center;
    color: #c0392b;
    font-size: 11px;
    margin-top: 6px;
    min-height: 0;
    line-height: 1.2;
}
#c_default_maincontentplaceholder_login1_samplecaptcha_CaptchaDiv{display:inline-flex !important;}
/* 04-Dec-2026 End - Match approved screenshot layout */
/* 04-Dec-2026 End - SS2-style login page (Unique brand colors) */
