﻿:root {
    --auth-ink: #0b2460;
    --auth-blue: #087cf0;
    --auth-line: #c7daf4;
    --auth-font: Arial;
}


/* =========================================================
   PAGE
   ========================================================= */

html,
body,
body.login-page,
body.auth-page {
    width: 100%;
    min-height: 100%;
}

    body.login-page,
    body.auth-page {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden;
        background: #eef8ff;
        font-family: var(--auth-font);
    }

        body.login-page > .row,
        body.auth-page > .row {
            min-height: 100vh;
            margin: 0 !important;
        }

            body.login-page > .row > #breadcrumb,
            body.auth-page > .row > #breadcrumb {
                float: none;
                width: 100%;
                min-height: 100vh;
                padding: 0 !important;
            }


/* =========================================================
   AUTH EXPERIENCE
   ========================================================= */

.auth-experience,
.login-experience {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    font-family: var(--auth-font);
    background-color: #062d57;
    background-image: var(--auth-background-image);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* =========================================================
   DATE / TIME
   ========================================================= */

.auth-utility,
.login-utility {
    position: fixed;
    z-index: 9999;
    top: 18px;
    right: 24px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    color: #223a77;
    font-family: var(--auth-font);
    pointer-events: none;
}

    .auth-utility .datetime-item,
    .login-utility .datetime-item {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        white-space: nowrap;
    }

    .auth-utility .datetime-icon,
    .login-utility .datetime-icon {
        margin-top: 2px;
        color: #17458b;
        font-size: 16px;
    }

    .auth-utility .datetime-content,
    .login-utility .datetime-content {
        display: flex;
        flex-direction: column;
        min-width: 118px;
        line-height: 1.15;
        text-align: left;
    }

    .auth-utility .current-date,
    .login-utility #loginCurrentDate {
        color: #223a77;
        font-size: 11px;
        font-weight: 500;
        white-space: nowrap;
    }

    .auth-utility .current-time,
    .login-utility #loginCurrentTime {
        display: block;
        margin-top: 3px;
        color: #0b2460;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
    }


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.auth-layout,
.login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, 560px);
    gap: clamp( 28px, 4vw, 60px );
    width: min( 1320px, 92vw );
    min-height: 100vh;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 72px 0 20px;
    align-items: center;
}


/* =========================================================
   BRAND COLUMN
   ========================================================= */

.auth-brand,
.brand-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #ffffff;
}


/* =========================================================
   BRAND NAME
   ========================================================= */

.auth-brand-name,
.brand-name {
    margin: 0;
    padding-bottom: 7px;
    font-family: var(--auth-font);
    font-size: clamp( 52px, 5.2vw, 82px );
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1.08;
    background: linear-gradient( 90deg, #ffffff, #a8e0ff );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    overflow: visible;
}


/* =========================================================
   BRAND CAPTION
   ========================================================= */

.auth-brand-caption,
.brand-caption {
    margin: 8px 0 0;
    color: #d0eaff;
    font-size: clamp( 12px, 1.1vw, 17px );
    letter-spacing: clamp( 4px, .58vw, 8px );
}


/* =========================================================
   BRAND LINE
   ========================================================= */

.auth-brand-rule,
.brand-rule {
    width: 87px;
    height: 5px;
    margin: 19px 0 23px;
    border-radius: 6px;
    background: #46c8ff;
}


/* =========================================================
   BRAND HEADLINE
   ========================================================= */

.auth-brand-headline,
.brand-headline {
    margin: 0;
    color: #ffffff;
    font-family: var(--auth-font);
    font-size: clamp( 34px, 3vw, 48px );
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -1.5px;
}

    .auth-brand-headline span,
    .brand-headline span {
        color: #40c7ff;
    }


/* =========================================================
   BRAND COPY
   ========================================================= */

.auth-brand-copy,
.brand-copy {
    margin: 14px 0 0;
    color: #c8e4ff;
    font-size: clamp( 15px, 1.3vw, 20px );
    line-height: 1.4;
}


/* =========================================================
   BRAND VALUES
   ========================================================= */

.auth-brand-values,
.brand-values {
    display: grid;
    grid-template-columns: repeat( 4, minmax(0, 1fr) );
    margin-top: 26px;
}

.auth-brand-value,
.brand-value {
    min-width: 0;
    padding: 0 12px;
    border-right: 1px solid rgba(112, 202, 255, .48);
    color: #ffffff;
    font-size: clamp( 10px, .95vw, 14px );
    line-height: 1.25;
    text-align: center;
}

    .auth-brand-value:first-child,
    .brand-value:first-child {
        padding-left: 0;
    }

    .auth-brand-value:last-child,
    .brand-value:last-child {
        padding-right: 0;
        border-right: 0;
    }

    .auth-brand-value .fa,
    .brand-value .fa {
        display: block;
        margin-bottom: 7px;
        color: #c6ebff;
        font-size: 29px;
    }


/* =========================================================
   BRAND FOOTER
   ========================================================= */

.auth-brand-footer,
.brand-footer {
    margin-top: 29px;
    color: #def1ff;
    font-size: 9px;
    letter-spacing: 4px;
    white-space: nowrap;
}

    .auth-brand-footer span,
    .brand-footer span {
        padding: 0 9px;
        color: #9fd9ff;
    }


/* =========================================================
   AUTH PANEL
   ========================================================= */

.auth-panel,
.login-panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    min-width: 0;
    min-height: 500px;
    justify-self: end;
    box-sizing: border-box;
    padding: 28px 38px 20px;
    overflow: hidden;
    border: 1px solid #a9d4ff;
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 20px 50px rgba(31, 111, 182, .16);
}

    .auth-panel::before,
    .login-panel::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 42%;
        height: 3px;
        border-radius: 20px 0 4px;
        background: linear-gradient( 90deg, #0476ed, #50c9ff );
        content: "";
    }


/* =========================================================
   PANEL INNER
   ========================================================= */

.auth-panel-inner,
.login-panel-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 450px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* =========================================================
   TITLE
   ========================================================= */

.auth-panel-title,
.login-panel h1 {
    margin: 0;
    color: var(--auth-ink);
    font-family: var(--auth-font);
    font-size: 31px;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -1px;
}


/* =========================================================
   SUBTITLE
   ========================================================= */

.auth-panel-subtitle,
.login-subtitle {
    margin: 6px 0 18px;
    color: #29458a;
    font-family: var(--auth-font);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
}


/* =========================================================
   FORM
   ========================================================= */

.auth-form,
#PreLoginForm {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    box-sizing: border-box;
}


/* =========================================================
   TABS
   ========================================================= */

.auth-panel .nav-tabs,
.login-panel .nav-tabs {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    overflow: hidden;
    background: #e9f4ff;
    box-sizing: border-box;
}

    .auth-panel .nav-tabs > li,
    .login-panel .nav-tabs > li {
        flex: 1;
        float: none;
        min-width: 0;
        margin: 0;
        text-align: center;
    }

        .auth-panel .nav-tabs > li > a,
        .login-panel .nav-tabs > li > a {
            margin: 0;
            padding: 14px 6px;
            border: 0;
            border-bottom: 4px solid transparent;
            border-radius: 0;
            color: #354d87;
            font-family: var(--auth-font);
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
        }

        .auth-panel .nav-tabs > li.active > a,
        .auth-panel .nav-tabs > li.active > a:hover,
        .auth-panel .nav-tabs > li.active > a:focus,
        .login-panel .nav-tabs > li.active > a,
        .login-panel .nav-tabs > li.active > a:hover,
        .login-panel .nav-tabs > li.active > a:focus {
            border: 0;
            border-bottom: 4px solid var(--auth-blue);
            background: #e1f4ff;
            color: #0575e8;
            box-shadow: none;
        }

        .auth-panel .nav-tabs > li > a:hover,
        .login-panel .nav-tabs > li > a:hover {
            border-color: transparent;
            background: #e9f4ff;
        }


/* =========================================================
   TAB CONTENT
   ========================================================= */

.auth-panel .tab-content,
.auth-panel .tab-pane,
.login-panel .tab-content,
.login-panel .tab-pane {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


/* =========================================================
   FORM GROUP
   ========================================================= */

.auth-panel .form-group,
.login-panel .form-group {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 11px;
    box-sizing: border-box;
}


/* =========================================================
   FORM CONTROL
   ========================================================= */

.auth-panel .form-control,
.login-panel .form-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 50px;
    box-sizing: border-box;
    padding: 11px 54px;
    border: 1px solid var(--auth-line);
    border-radius: 7px;
    color: var(--auth-ink);
    font-family: var(--auth-font);
    font-size: 13px;
    box-shadow: none;
}

    .auth-panel .form-control:focus,
    .login-panel .form-control:focus {
        border-color: var(--auth-blue);
        box-shadow: 0 0 0 3px rgba(8, 124, 240, .10);
    }


/* =========================================================
   FORM ICON
   ========================================================= */

.auth-panel .form-control-feedback,
.login-panel .form-control-feedback {
    top: 0;
    right: auto;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 50px;
    color: #52638e;
    font-size: 17px;
}


/* =========================================================
   PASSWORD EYE
   ========================================================= */

.auth-password-toggle,
.password-visibility {
    position: absolute;
    top: 50%;
    right: 15px;
    color: #52638e;
    font-size: 16px;
    transform: translateY(-50%);
    cursor: pointer;
}


/* =========================================================
   SECURITY LABEL
   ========================================================= */

.auth-security-label,
.security-label {
    display: block;
    margin: 13px 0 6px;
    color: var(--auth-ink);
    font-family: var(--auth-font);
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   CAPTCHA
   ========================================================= */

.auth-captcha-row,
.captcha-row {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.25fr);
    gap: 8px;
    align-items: center;
    margin-bottom: 14px !important;
    box-sizing: border-box;
}

    .auth-captcha-row > *,
    .captcha-row > * {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .auth-captcha-box,
    .captcha-row #divCaptcha {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        min-height: 48px;
        overflow: hidden;
        border: 1px solid #a9d7ff;
        border-radius: 7px;
        background: #e6f6ff;
    }

        .auth-captcha-box img,
        .captcha-row #imgCaptcha {
            width: 100% !important;
            max-width: 100% !important;
            height: 46px !important;
            object-fit: contain;
        }

    .auth-captcha-refresh,
    .captcha-row #reloadCaptcha {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border: 1px solid var(--auth-line);
        border-radius: 7px;
        color: #087cf0;
        font-size: 19px !important;
        cursor: pointer;
        box-sizing: border-box;
    }

        .auth-captcha-refresh a,
        .captcha-row #reloadCaptcha a {
            color: inherit;
            text-decoration: none;
        }

    .auth-captcha-row .form-control,
    .captcha-row .form-control {
        width: 100%;
        min-width: 0;
        height: 48px;
        padding: 10px 12px;
    }


/* =========================================================
   BUTTON
   ========================================================= */

.auth-panel .btn-primary,
.auth-panel .ccbutton,
.login-panel .btn-primary,
.login-panel .ccbutton {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    border: 0;
    border-radius: 9px;
    background: linear-gradient( 90deg, #0876d8, #078de9 );
    color: #ffffff;
    font-family: var(--auth-font);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(8, 120, 232, .20);
}

    .auth-panel .btn-primary:hover,
    .auth-panel .ccbutton:hover,
    .login-panel .btn-primary:hover,
    .login-panel .ccbutton:hover {
        background: #066eca;
        color: #ffffff;
    }

.auth-submit {
    margin-top: 7px;
}


/* =========================================================
   ERROR
   ========================================================= */

#tmpCaptcha {
    display: none;
}

.auth-error,
#error-area {
    min-height: 14px;
    margin-top: 7px;
    color: #d92d20 !important;
    font-family: var(--auth-font);
    font-size: 11px;
}


/* =========================================================
   BIOMETRIC
   ========================================================= */

.auth-biometric-panel,
.biometric-panel {
    width: 100%;
    max-width: 100%;
    padding: 12px 4px 0;
    box-sizing: border-box;
    text-align: center;
}

    .auth-biometric-panel h3,
    .biometric-panel h3 {
        margin: 5px 0 7px;
        color: var(--auth-ink);
        font-family: var(--auth-font);
        font-size: 19px;
        font-weight: 500;
    }

    .auth-biometric-panel p,
    .biometric-panel p {
        margin: 0 0 14px;
        color: #5d6c90;
        font-family: var(--auth-font);
        font-size: 11px;
    }

.auth-fingerprint,
.finger-print {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
    margin: 22px auto 24px;
    border: 1px solid #d5e4f8;
    border-radius: 50%;
    background: #f3f8ff;
}

    .auth-fingerprint img,
    .finger-print img {
        max-width: 98px !important;
        max-height: 98px !important;
    }

.attendance-info-box {
    display: none;
}


/* =========================================================
   PANEL FOOTER
   ========================================================= */

.auth-panel-footer,
.panel-footer {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 10px;
    margin: auto 0 0;
    padding: 16px 0 0;
    box-sizing: border-box;
    color: #294584;
    font-family: var(--auth-font);
    font-size: 8px;
    letter-spacing: 2.5px;
    white-space: nowrap;
    background: transparent !important;
    border: 0 !important;
}

    .auth-panel-footer::before,
    .auth-panel-footer::after,
    .panel-footer::before,
    .panel-footer::after {
        flex: 1 1 auto;
        min-width: 20px;
        height: 1px;
        background: #8394bc;
        content: "";
    }

    .auth-panel-footer span,
    .panel-footer span {
        color: #7183ad;
        letter-spacing: 0;
    }


/* =========================================================
   NORMAL LAPTOP / 100% ZOOM
   ========================================================= */

@media screen and (min-width: 769px) and (max-width: 1400px) {

    .auth-layout,
    .login-layout {
        grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
        gap: 28px;
        width: 92vw;
    }


    .auth-panel,
    .login-panel {
        width: 100%;
        max-width: 520px;
        padding: 22px 32px 15px;
    }


    .auth-panel-inner,
    .login-panel-inner {
        width: 100%;
        min-height: 440px;
    }


    .auth-panel-title,
    .login-panel h1 {
        font-size: 29px;
    }


    .auth-panel-subtitle,
    .login-subtitle {
        margin: 5px 0 14px;
        font-size: 10px;
        letter-spacing: 2.5px;
    }


    .auth-panel .nav-tabs,
    .login-panel .nav-tabs {
        margin-bottom: 13px;
    }


        .auth-panel .nav-tabs > li > a,
        .login-panel .nav-tabs > li > a {
            padding: 10px 5px;
            font-size: 13px;
        }


    .auth-panel .form-control,
    .auth-panel .form-control-feedback,
    .login-panel .form-control,
    .login-panel .form-control-feedback {
        height: 43px;
    }


    .auth-security-label,
    .security-label {
        margin-top: 9px;
    }


    .auth-captcha-box,
    .auth-captcha-refresh,
    .auth-captcha-row .form-control,
    .captcha-row #divCaptcha,
    .captcha-row #reloadCaptcha,
    .captcha-row .form-control {
        height: 43px;
        min-height: 43px;
    }


        .auth-captcha-box img,
        .captcha-row #imgCaptcha {
            height: 41px !important;
        }


    .auth-panel .btn-primary,
    .auth-panel .ccbutton,
    .login-panel .btn-primary,
    .login-panel .ccbutton {
        min-height: 43px;
        font-size: 14px;
    }


    .auth-brand-name,
    .brand-name {
        font-size: clamp( 50px, 5vw, 72px );
    }


    .auth-brand-caption,
    .brand-caption {
        font-size: 12px;
    }


    .auth-brand-headline,
    .brand-headline {
        font-size: clamp( 32px, 2.8vw, 43px );
    }


    .auth-brand-copy,
    .brand-copy {
        font-size: 15px;
    }


    .auth-brand-value,
    .brand-value {
        font-size: 10px;
    }


        .auth-brand-value .fa,
        .brand-value .fa {
            font-size: 26px;
        }
}


/* =========================================================
   SHORT LAPTOP
   ========================================================= */

@media screen and (min-width: 769px) and (max-height: 820px) {

    .auth-layout,
    .login-layout {
        padding: 58px 0 12px;
    }


    .auth-panel,
    .login-panel {
        min-height: 455px;
    }


    .auth-panel-inner,
    .login-panel-inner {
        min-height: 418px;
    }


    .auth-panel-footer,
    .panel-footer {
        padding-top: 10px;
        font-size: 7px;
    }


    .auth-brand-values,
    .brand-values {
        margin-top: 18px;
    }


    .auth-brand-footer,
    .brand-footer {
        margin-top: 18px;
    }
}


/* =========================================================
   VERY SHORT DESKTOP
   ========================================================= */

@media screen and (min-width: 769px) and (max-height: 700px) {

    .auth-layout,
    .login-layout {
        padding: 48px 0 8px;
    }


    .auth-panel,
    .login-panel {
        min-height: 410px;
        padding: 15px 30px 10px;
    }


    .auth-panel-inner,
    .login-panel-inner {
        min-height: 383px;
    }


    .auth-panel-title,
    .login-panel h1 {
        font-size: 26px;
    }


    .auth-panel-subtitle,
    .login-subtitle {
        margin-bottom: 8px;
    }


    .auth-panel .nav-tabs,
    .login-panel .nav-tabs {
        margin-bottom: 8px;
    }


        .auth-panel .nav-tabs > li > a,
        .login-panel .nav-tabs > li > a {
            padding: 7px 5px;
        }


    .auth-panel .form-control,
    .auth-panel .form-control-feedback,
    .login-panel .form-control,
    .login-panel .form-control-feedback {
        height: 37px;
    }


    .auth-panel .form-group,
    .login-panel .form-group {
        margin-bottom: 5px;
    }


    .auth-security-label,
    .security-label {
        margin: 6px 0 4px;
    }


    .auth-captcha-row,
    .captcha-row {
        margin-bottom: 5px !important;
    }


        .auth-captcha-box,
        .auth-captcha-refresh,
        .auth-captcha-row .form-control,
        .captcha-row #divCaptcha,
        .captcha-row #reloadCaptcha,
        .captcha-row .form-control {
            height: 37px;
            min-height: 37px;
        }


            .auth-captcha-box img,
            .captcha-row #imgCaptcha {
                height: 35px !important;
            }


    .auth-panel .btn-primary,
    .auth-panel .ccbutton,
    .login-panel .btn-primary,
    .login-panel .ccbutton {
        min-height: 37px;
    }


    .auth-panel-footer,
    .panel-footer {
        padding-top: 7px;
    }


    .auth-fingerprint,
    .finger-print {
        width: 82px;
        height: 82px;
        margin: 10px auto 12px;
    }


        .auth-fingerprint img,
        .finger-print img {
            max-width: 77px !important;
            max-height: 77px !important;
        }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 768px) {

    .auth-experience,
    .login-experience {
        overflow-y: auto;
        background-position: 35% center;
    }


    .auth-utility,
    .login-utility {
        top: 12px;
        right: 14px;
    }


        .auth-utility .datetime-content,
        .login-utility .datetime-content {
            min-width: auto;
        }


        .auth-utility .datetime-icon,
        .login-utility .datetime-icon {
            font-size: 14px;
        }


        .auth-utility .current-date,
        .login-utility #loginCurrentDate {
            font-size: 9px;
        }


        .auth-utility .current-time,
        .login-utility #loginCurrentTime {
            font-size: 10px;
        }


    .auth-layout,
    .login-layout {
        display: block;
        width: 100%;
        min-height: 100vh;
        padding: 64px 18px 22px;
    }


    .auth-brand,
    .brand-column {
        padding: 0 10px 27px;
    }


    .auth-brand-name,
    .brand-name {
        font-size: 48px;
    }


    .auth-brand-caption,
    .brand-caption {
        margin-top: 4px;
        font-size: 11px;
    }


    .auth-brand-rule,
    .brand-rule {
        width: 60px;
        height: 4px;
        margin: 13px 0 17px;
    }


    .auth-brand-headline,
    .brand-headline {
        font-size: 30px;
    }


    .auth-brand-copy,
    .auth-brand-values,
    .auth-brand-footer,
    .brand-copy,
    .brand-values,
    .brand-footer {
        display: none;
    }


    .auth-panel,
    .login-panel {
        width: 100%;
        max-width: none;
        min-height: 460px;
        padding: 24px 22px 18px;
        border-radius: 17px;
    }


    .auth-panel-inner,
    .login-panel-inner {
        min-height: 416px;
    }


    .auth-panel-title,
    .login-panel h1 {
        font-size: 28px;
    }


    .auth-panel-subtitle,
    .login-subtitle {
        margin: 5px 0 17px;
        font-size: 10px;
        letter-spacing: 2px;
    }


    .auth-panel .nav-tabs > li > a,
    .login-panel .nav-tabs > li > a {
        padding: 11px 4px;
        font-size: 12px;
    }


    .auth-captcha-row,
    .captcha-row {
        grid-template-columns: minmax(0, 1fr) 48px;
    }


        .auth-captcha-box,
        .captcha-row #divCaptcha {
            grid-column: 1;
            grid-row: 1;
        }


        .auth-captcha-refresh,
        .captcha-row #reloadCaptcha {
            grid-column: 2;
            grid-row: 1;
        }


        .auth-captcha-row .form-control,
        .captcha-row .form-control {
            grid-column: 1 / -1;
            grid-row: 2;
        }


    .auth-panel-footer,
    .panel-footer {
        padding-top: 16px;
        gap: 7px;
        font-size: 7px;
        letter-spacing: 1.5px;
    }
}
