﻿
/* -----------------------------
   Hard-fix background tiling
   (WITHOUT changing the image)
   ----------------------------- */

html, body {
    height: 100%;
    margin: 0;
}

/* Whatever element your branding CSS applies background-image to,
   these will stop repeat + force cover. */
html {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
}

body {
    min-height: 100vh;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-color: #070a10; /* fallback */
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    overflow: hidden; /* prevents scroll bars on empty layout */
}

    /* subtle cinematic overlay (doesn't replace your background image) */
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: radial-gradient(900px 600px at 15% 15%, rgba(0,201,142,.16), transparent 55%), radial-gradient(900px 600px at 85% 25%, rgba(0,140,255,.12), transparent 55%), linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
        pointer-events: none;
        z-index: 0;
    }

/* -----------------------------
   Make hidden inputs ACTUALLY hidden
   ----------------------------- */
.ShowNone,
.GTText.ShowNone,
input.ShowNone {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

/* -----------------------------
   Login shell positioning (no flex)
   ----------------------------- */
.mainmenuItem {
    color: white;
    width: 100%;
    text-align: center;
    padding-bottom: 3px;
    padding-top: 2px;
    float: left;
    display: flex;
    margin-top: 5px;
    justify-content: center;
}
.mainmenuFont {
    font-size: 20px;
    float: left;
}
.mainmenuText {
    float: left;
    margin-left: 8px;
}
.LoginBackground.login-shell,
.LoginBackground {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 650px;
    height: 485px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    background: rgba(255,255,255,.05); /* subtle base so edges look clean */
}

    /* edge glow */
    .LoginBackground.login-shell::before,
    .LoginBackground::before {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 24px;
        background: linear-gradient(135deg, rgba(0,201,142,.45), rgba(0,140,255,.22), rgba(255,255,255,.10), rgba(0,201,142,.25) );
        filter: blur(16px);
        opacity: .65;
        z-index: -1;
    }

/* -----------------------------
   Panels
   ----------------------------- */

.login-left,
.GTLoginInfoBorder {
    width: 50%;
    height: 100%;
    float: left;
    box-sizing: border-box;
    padding: 10px 13px 5px 8px;
    background: #fff;
}

.login-right,
.GTLoginBorder {
    width: 50%;
    height: 100%;
    float: left;
    box-sizing: border-box;
    padding: 6px 10px;
    background: linear-gradient(180deg, var(--glassR1) 0%, var(--glassR2) 100%) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid rgba(255,255,255,.18);
}

/* Left text overrides (your markup has inline colors) */
.GTLoginInfoBorder label {
    color: var(--textDark) !important;
}

    .GTLoginInfoBorder label[style*="#00C98E"],
    .GTLoginInfoBorder label[style*="color: #00C98E"] {
        color: var(--MainColor) !important;
    }

    .GTLoginInfoBorder label[style*="#464646"],
    .GTLoginInfoBorder label[style*="color: #464646"] {
        color: #46505a !important;
    }

/* -----------------------------
   Info cards
   ----------------------------- */
.GPSBobInfoBox {
    width: 96%;
    margin: 0px auto 0;
    padding: 5px 14px 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8eaee;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    cursor: pointer;
}

    .GPSBobInfoBox:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 45px rgba(0,0,0,.18);
        border-color: rgba(0,201,142,.28);
    }

/* -----------------------------
   Logo
   ----------------------------- */
#LoginLogo,
.login-logo {
    width: 100%;
    height: 90px;
    margin: 10px auto 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

/* -----------------------------
   Inputs (crisp, not muddy)
   ----------------------------- */
.glass-input,
#txtAccountName,
#txtUserName,
#txtPassword {
    display: block;
    width: 80%;
    margin: 10px auto 0;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.80) !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    color: #1e1e1e;
    font-size: 14px;
    outline: none;
    box-shadow: 0 14px 35px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.35);
    transition: box-shadow .12s ease, border-color .12s ease;
}

    #txtAccountName::placeholder,
    #txtUserName::placeholder,
    #txtPassword::placeholder {
        color: #7e8792;
    }

    #txtAccountName:focus,
    #txtUserName:focus,
    #txtPassword:focus {
        border-color: rgba(0,201,142,.80) !important;
        box-shadow: 0 18px 50px rgba(0,0,0,.30), 0 0 0 4px rgba(0,201,142,.16), inset 0 1px 0 rgba(255,255,255,.35);
    }

/* -----------------------------
   Forgot / remember / register
   ----------------------------- */
#ForgotPassword {
    width: 80%;
    margin: 8px auto 0;
    text-align: right;
}

    #ForgotPassword label {
        font-weight: 800;
        color: rgba(0,0,0,.70);
        cursor: pointer;
    }

        #ForgotPassword label:hover {
            text-decoration: underline;
            text-underline-offset: 3px;
            text-decoration-thickness: 2px;
        }

.remember {
    width: 80%;
    margin: 8px auto 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(0,0,0,.70);
}

    .remember input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--MainColor);
    }

.register {
    width: 100%;
    margin: 10px auto 0;
    text-align: center;
}

.register label {
    font-weight: 800;
    color: rgba(0,0,0,.70);
    cursor: pointer;
}

    .register label:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-thickness: 2px;
    }

/* -----------------------------
   Button (shine sweep)
   ----------------------------- */
#btnLogin {
    width: 80%;
    margin: 8px auto 0;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #00c98e, #00c98e) !important;
    border: 1px solid rgba(255,255,255,.20) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .12s ease, box-shadow .12s ease;
}

    #btnLogin label {
        color: #fff !important;
        font-size: 18px;
        font-weight: 900;
    }

    #btnLogin::after {
        content: "";
        position: absolute;
        inset: -40% -20%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
        transform: translateX(-60%) rotate(12deg);
        transition: transform .6s ease;
    }

    #btnLogin:hover {
        transform: translateY(-2px);
        box-shadow: 0 26px 70px rgba(0,0,0,.45);
    }

        #btnLogin:hover::after {
            transform: translateX(60%) rotate(12deg);
        }

    #btnLogin:active {
        transform: translateY(0);
    }

/* -----------------------------
   Platform select (if used)
   ----------------------------- */
.PlatformRequest {
    width: calc(100% - 24px);
    margin: 10px auto 0;
    padding: 7px 10px 7px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(0,201,142,.30);
    cursor: pointer;
    transition: transform .12s ease;
    float: left;
}

    .PlatformRequest:hover {
        transform: translateY(-2px);
    }

/* -----------------------------
   Error
   ----------------------------- */
#lblError {
    width: 80%;
    margin: 2px auto 0;
    padding: 0px 3px;
    border-radius: 12px;
    background: rgba(255,60,60,.14);
    border: 1px solid rgba(255,60,60,.35);
    color: #7a0000;
    text-align: center;
}

/* -----------------------------
   Mobile app banner
   ----------------------------- */
.glass-banner {
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    box-sizing: border-box;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.glass-banner__text {
    flex: 1;
    font-size: 18px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

.glass-banner__close {
    font-size: 28px;
    cursor: pointer;
    opacity: .9;
}

    .glass-banner__close:hover {
        opacity: 1;
    }

/* panel stays the same */
#LogoPanel.logo-panel {
    width: 100%;
    height: 120px; /* tweak to taste */
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    background: var(--LoginLogoBackColor);
}

/* image fills the panel (cropped/zoomed) */
#LoginLogoImg.login-logo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain; /* ✅ fills edges */
    object-position: center; /* try: center, top, 50% 35% etc */

    transform: scale(1.001); /* ✅ zoom in a bit */
    transform-origin: center;
}

/* -----------------------------
   Responsive
   ----------------------------- */
@media (max-width: 760px) {
    .LoginBackground.login-shell,
    .LoginBackground {
        width: 92vw;
        height: auto;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 3vh auto 0;
    }

    .login-left, .login-right,
    .GTLoginInfoBorder, .GTLoginBorder {
        width: 100%;
        height: auto;
        float: none;
    }

    .GTLoginBorder {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,.18);
    }
}

/* =========================================
   LEFT PANEL – remove "pill" artifacts + align text
   ========================================= */

/* Make the left column a proper flow container */
.GTLoginInfoBorder,
.login-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    /* Kill any accidental pill/box styling on plain text blocks */
    .GTLoginInfoBorder label,
    .GTLoginInfoBorder div,
    .GTLoginInfoBorder span {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    /* Title "Did you know?" – clean & aligned */
    .GTLoginInfoBorder > div:first-child label {
        display: block;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.05;
        letter-spacing: -0.3px;
    }

    /* Intro paragraph – stop weird inner rounding/padding */
    .GTLoginInfoBorder > div:nth-child(2) {
        margin-top: 0 !important;
        padding: 0 4% !important;
    }

        .GTLoginInfoBorder > div:nth-child(2) label {
            display: block;
            width: 100%;
            margin: 0 !important;
            padding: 0 !important;
            line-height: 1.35;
        }

    /* Ensure the 3 product cards are the only “boxed” things */
    .GTLoginInfoBorder .GPSBobInfoBox {
        background: #fff !important;
        border-radius: 16px !important;
        border: 1px solid #e8eaee !important;
        box-shadow: 0 12px 30px rgba(0,0,0,.12) !important;
        padding: 5px 8px 5px !important;
    }

/* Fix card internal spacing so labels line up perfectly */
.GPSBobInfoBox label {
    display: block;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.25;
}

    .GPSBobInfoBox label + label {
        margin-top: 6px !important;
    }

/* "Learn more" align right without float weirdness */
.GPSBobInfoBox > div {
    width: 100% !important;
    float: none !important;
    margin-top: 10px !important;
    display: flex;
    justify-content: flex-end;
}

    .GPSBobInfoBox > div label {
        width: auto !important;
        float: none !important;
    }

/* Extra: if some old style is applying rounded boxes to your first two text blocks */
.GTLoginInfoBorder > div:first-child,
.GTLoginInfoBorder > div:nth-child(2) {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
