@charset "UTF-8";
/* CSS Override — ChartPro Login Portal
   Brand-matched to chartpro.org styling */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ==============================
   1. GLOBAL / BODY FIX
   ============================== */

/* FIX: Override GeneXus inline opacity:0 that hides the page */
body {
    opacity: 1 !important;
    -moz-opacity: 1 !important;
    min-height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    background: #f5f7fa !important;
    /*font-family: "Plus Jakarta Sans", Helvetica, Arial, Lucida, sans-serif !important;*/
    margin: 0 !important;
    padding: 20px !important;
}

/* FIX: Don't flex html — only body needs it */
html {
    background: #f5f7fa !important;
/*    font-family: "Plus Jakarta Sans", Helvetica, Arial, Lucida, sans-serif !important;*/
}

/* Kill GeneXus container-fluid padding that pushes layout */
.container-fluid {
    padding: 0 !important;
}

/* The .Section div is the direct flex child of #MAINFORM — use auto margins to center vertically */
#MAINFORM > .Section {
    margin-top: auto !important;
    margin-bottom: auto !important;
}

/* The FORM sits between body and card — make it a flex centering pass-through */
#MAINFORM,
.form-horizontal.Form {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-height: 100vh !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==============================
   2. MAIN CARD
   Brand: square corners throughout chartpro.org
   ============================== */
.TableNewLogin {
    width: 100% !important;
    max-width: 500px !important;
    padding: 48px 40px !important;
    background: #ffffff !important;
    border-radius: 4px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    text-align: center !important;
    display: block !important;
    margin: 0 auto !important;
}

/* ==============================
   3. LOGO & HEADERS
   Brand: Plus Jakarta Sans, 700 for headings
   ============================== */
.ImageTopHeaderLogin {
    margin: 0 auto 24px auto !important;
    display: block !important;
    max-width: 180px !important;
    height: auto !important;
}

/* Brand heading style: 700 weight, dark color */
.TextBlockLoginWelcome {
    font-size: 28px !important;
    font-weight: 700 !important;
    font-family: "Plus Jakarta Sans", Helvetica, Arial, Lucida, sans-serif !important;
    display: block !important;
    padding: 12px 0 4px 0 !important;
    text-align: center !important;
    color: #333333 !important;
}

/* Brand accent: teal subtitle, 500 weight */
.TextBlockLoginSubtitle,
#TBLEGEND {
    font-size: 15px !important;
    font-family: "Plus Jakarta Sans", Helvetica, Arial, Lucida, sans-serif !important;
    color: #00BFB4 !important;
    display: block !important;
    padding-bottom: 14px !important;
    text-align: center !important;
    font-weight: 500 !important;
}

/* ==============================
   4. INPUTS & LABELS
   Brand body text: #666666, weight 400-500
   ============================== */

/* Hide GeneXus screen-reader labels (visual ones stay) */
.gx-label,
label[for="vUSEREMAIL"],
label[for="vUSERPASSWORD"] {
    display: none !important;
}

/* Brand: labels use body text color #666, weight 500 */
.Label {
    display: block !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: "Plus Jakarta Sans", Helvetica, Arial, Lucida, sans-serif !important;
    margin-bottom: 6px !important;
    color: #666666 !important;
}

/* Constrain the GeneXus input wrappers */
.gx-attribute {
    max-width: 100% !important;
}

/* High specificity to beat the EDRTheme combined selector */
input.AttributeNewLogin,
input.AttributeNewLogin.form-control,
.TableNewLogin input.AttributeNewLogin {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    border-radius: 3px !important;
    border: 1px solid #d2d8e0 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-family: "Plus Jakarta Sans", Helvetica, Arial, Lucida, sans-serif !important;
    color: #333333 !important;
    background: #fff !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
}

.AttributeNewLogin:focus {
    border-color: #00BFB4 !important;
    box-shadow: 0 0 0 3px rgba(0, 191, 180, 0.12) !important;
}

.AttributeNewLogin::placeholder {
    color: #999999 !important;
    font-weight: 400 !important;
}

/* ==============================
   5. LOGIN BUTTON
   Brand: bg #00BFB4, weight 600, square corners
   ============================== */
.ButtonNewLogin {
    width: 100% !important;
    height: 50px !important;
    background-color: #00BFB4 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: "Plus Jakarta Sans", Helvetica, Arial, Lucida, sans-serif !important;
    letter-spacing: 0.5px !important;
    border-radius: 3px !important;
    margin: 8px 0 0 0 !important;
    border: 2px solid #00BFB4 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    -webkit-appearance: none !important;
}

.ButtonNewLogin:hover {
    background-color: #00a89e !important;
    border-color: #00a89e !important;
    box-shadow: 0 4px 12px rgba(0, 191, 180, 0.3) !important;
}

.ButtonNewLogin:active {
    background-color: #009890 !important;
    transform: translateY(1px) !important;
}

/* ==============================
   6. FORGOT PASSWORD
   Brand: teal links, weight 400
   ============================== */
#FORGOTPASSWORD,
#FORGOTPASSWORD a {
    font-size: 13px !important;
    font-weight: 400 !important;
    font-family: "Plus Jakarta Sans", Helvetica, Arial, Lucida, sans-serif !important;
    color: #00BFB4 !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    margin-top: 12px !important;
    padding: 0 !important;
    transition: color 0.2s ease !important;
}

#FORGOTPASSWORD a:hover {
    color: #00a89e !important;
    text-decoration: underline !important;
}

/* ==============================
   7. SIGNUP ROW
   Brand: body text #666, link teal 600
   ============================== */
/* Flatten the signup row — remove the wrapper divs from flow entirely */
#UNNAMEDTABLE2 {
    display: block !important;
    text-align: center !important;
    padding-top: 24px !important;
    line-height: 1.5 !important;
}

/* Collapse the GeneXus wrapper divs so the spans sit inline together */
#UNNAMEDTABLE2 > div {
    display: inline !important;
    flex-grow: unset !important;
    align-self: unset !important;
}

/* Normalize both spans — kill the TextBlockLoginWelcome2 theme sizing */
#TBSIGNUP,
#TBSIGNUPACTION {
    font-size: 16px !important;
    font-family: "Plus Jakarta Sans", Helvetica, Arial, Lucida, sans-serif !important;
    line-height: 1.4 !important;
    vertical-align: baseline !important;
    margin: 0 !important;
    padding: 0 !important;
}

#TBSIGNUP {
    font-size: 16px !important;
    color: #666666 !important;
    display: inline !important;
    font-weight: 400 !important;
    margin-right: 4px !important;
}

#TBSIGNUPACTION a {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #00BFB4 !important;
    text-decoration: none !important;
    display: inline !important;
    vertical-align: baseline !important;
    transition: color 0.2s ease !important;
}

#TBSIGNUPACTION a:hover {
    color: #00a89e !important;
    text-decoration: underline !important;
}

/* ==============================
   8. GENEXUS LAYOUT CLEANUP
   ============================== */

/* Collapse Bootstrap row gutters inside the card */
.TableNewLogin .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.TableNewLogin [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Tighten the flex sections GeneXus wraps everything in */
.SectionCenterItems {
    padding: 0 !important;
}

/* Hide error viewer when empty */
.ErrorViewer:empty {
    display: none !important;
}

/* ==============================
   9. RESPONSIVE
   ============================== */

/* Tablet */
@media (max-width: 768px) {
    body {
        padding: 16px !important;
    }

    .TableNewLogin {
        max-width: 100% !important;
        padding: 40px 28px !important;
    }

    .TextBlockLoginWelcome {
        font-size: 24px !important;
    }

    .TextBlockLoginSubtitle,
    #TBLEGEND {
        font-size: 14px !important;
        padding-bottom: 12px !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body {
        padding: 12px !important;
        align-items: flex-start !important;
        padding-top: 24px !important;
    }

    .TableNewLogin {
        padding: 32px 20px !important;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06) !important;
    }

    .ImageTopHeaderLogin {
        max-width: 140px !important;
        margin-bottom: 16px !important;
    }

    .TextBlockLoginWelcome {
        font-size: 22px !important;
        padding: 8px 0 2px 0 !important;
    }

    .TextBlockLoginSubtitle,
    #TBLEGEND {
        font-size: 13px !important;
        padding-bottom: 18px !important;
    }

    .AttributeNewLogin {
        height: 44px !important;
        font-size: 14px !important;
        margin-bottom: 14px !important;
    }

    .ButtonNewLogin {
        height: 46px !important;
        font-size: 14px !important;
    }

    #UNNAMEDTABLE2 {
        flex-wrap: wrap !important;
        padding-top: 18px !important;
    }

    #TBSIGNUP,
    #TBSIGNUPACTION a {
        font-size: 13px !important;
    }
}

/* Small mobile */
@media (max-width: 360px) {
    .TableNewLogin {
        padding: 24px 16px !important;
    }

    .ImageTopHeaderLogin {
        max-width: 120px !important;
    }

    .TextBlockLoginWelcome {
        font-size: 20px !important;
    }
}
