/* UnitXPro Login — pixel-close match to reference mockup */
:root {
    --uxp-navy: #0a1d41;
    --uxp-navy-deep: #071530;
    --uxp-muted: #6b7a8c;
    --uxp-soft: #8a96a3;
    --uxp-line: #e4ebf2;
    --uxp-orange: #f36f21;
    --uxp-blue-link: #1e6fd9;
    --uxp-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.uxp-login,
body.uxp-login {
    background: #f2f5f9 !important;
    overflow: hidden !important;
    font-family: var(--uxp-font) !important;
    color: var(--uxp-navy);
    margin: 0 !important;
}

.uxp-login .limiter,
.uxp-login .container-login100,
.uxp-login .wrap-login100 {
    width: 100% !important;
    min-height: 100vh !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
    position: relative;
}

.uxp-login .wrap-login100 {
    display: block !important;
}

/* Full-bleed background (scene + models + feature cards) */
.uxp-login .login100-more,
.uxp-login .uxp-hero {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #eef2f6 !important;
    background-image: none !important;
    overflow: hidden !important;
    z-index: 0;
}

.uxp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    z-index: 0;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    filter: none !important;
    -webkit-filter: none !important;
}

/* Prevent modal/page blur styles from softening the login scene */
body.uxp-login,
body.uxp-login .limiter,
body.uxp-login .wrap-login100,
body.uxp-login .uxp-hero,
body.uxp-login .uxp-hero-bg,
body.uxp-login .supreme-container {
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
}

.uxp-login .uxp-hero::before {
    display: none !important;
    content: none !important;
}

.uxp-login .login100-more::after,
.uxp-login .wrap-login100::before,
.uxp-login .wrap-login100::after {
    display: none !important;
    content: none !important;
}

/* ===== Top bar ===== */
.uxp-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 42px 0 46px;
    pointer-events: none;
}

.uxp-topbar > * {
    pointer-events: auto;
}

.uxp-brand-logo {
    width: 236px;
    max-width: 32vw;
    height: auto;
    display: block;
    object-fit: contain;
}

.uxp-auth-top {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0a1d41;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--uxp-font);
    margin: 0;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.75);
}

.uxp-app-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.uxp-get-app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    border: 1px solid #d0d7e2;
    background: #fff;
    color: #0a1d41 !important;
    border-radius: 999px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--uxp-font);
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
    text-shadow: none;
}

.uxp-get-app .uxp-store-ico {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: block;
}

.uxp-get-app svg.uxp-store-ico {
    fill: currentColor;
}

.uxp-get-app .uxp-android-ico {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
}

.uxp-get-app:hover {
    border-color: #b9c5d3;
    color: var(--uxp-navy) !important;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.12);
}

/* ===== Left marketing copy ===== */
.uxp-hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    width: min(54%, 680px);
    padding: 126px 20px 150px 52px;
    box-sizing: border-box;
}

.uxp-hero-copy {
    max-width: 430px;
}

.uxp-eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0a1d41;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.75);
}

.uxp-hero-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(48px, 5.4vw, 68px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -1.8px;
    color: var(--uxp-navy);
}

.uxp-hero-copy h1 .uxp-line,
.uxp-hero-copy h1 .uxp-accent {
    display: block;
}

.uxp-hero-copy h1 .uxp-accent {
    color: var(--uxp-orange);
}

.uxp-lead {
    margin: 0;
    max-width: 330px;
    font-size: 15.5px;
    line-height: 1.5;
    color: #0a1d41;
    font-weight: 600;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--uxp-orange);
    display: inline-block;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.75);
}

.uxp-tagline {
    position: absolute;
    left: 52px;
    bottom: 28px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #5c6b7a;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
}

.uxp-tagline::before {
    content: "";
    width: 26px;
    height: 3px;
    background: var(--uxp-orange);
    border-radius: 2px;
    flex: 0 0 auto;
}

/* ===== Right login rail ===== */
.uxp-login .login100-form,
.uxp-login .uxp-auth {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 40% !important;
    max-width: 520px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 96px 46px 22px !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    z-index: 5;
}

.uxp-card {
    width: 100%;
    max-width: 400px;
    margin: auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 26px 64px rgba(12, 30, 55, 0.16);
    padding: 34px 34px 28px;
}

.uxp-card-logo {
    display: block;
    width: 198px;
    max-width: 70%;
    height: auto;
    margin: 0 auto 28px;
}

.uxp-card h2 {
    margin: 0 0 6px;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: var(--uxp-navy);
    letter-spacing: -0.4px;
}

.uxp-card .uxp-sub {
    margin: 0 0 26px;
    text-align: center;
    font-size: 14px;
    color: var(--uxp-soft);
    font-weight: 500;
}

.uxp-label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--uxp-navy);
}

.uxp-field {
    position: relative;
    margin-bottom: 16px;
}

.uxp-field .uxp-ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9aa6b2;
    pointer-events: none;
}

.uxp-field .uxp-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #9aa6b2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 5;
    pointer-events: auto;
}

.uxp-field .uxp-eye:hover {
    color: var(--uxp-navy);
    background: rgba(11, 35, 65, 0.05);
}

.uxp-login .uxp-field input,
.uxp-login .uxp-field input[type="text"],
.uxp-login .uxp-field input[type="password"],
.uxp-login .uxp-field input[type="email"] {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid var(--uxp-line) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    background: #fff !important;
    padding: 0 42px !important;
    font-size: 14px !important;
    color: #1f2f40 !important;
    font-family: var(--uxp-font) !important;
    font-weight: 500 !important;
}

.uxp-login .uxp-field input#txtPassword {
    padding-right: 48px !important;
}

.uxp-login .uxp-field input[type="password"]::-ms-reveal,
.uxp-login .uxp-field input[type="password"]::-ms-clear,
.uxp-login .uxp-field input#txtPassword::-ms-reveal,
.uxp-login .uxp-field input#txtPassword::-ms-clear {
    display: none !important;
}

.uxp-login .uxp-field input:focus {
    border-color: #c5d3e2 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 29, 65, 0.08) !important;
}

.uxp-login .uxp-field input::placeholder {
    color: #9aa6b2 !important;
    font-weight: 400 !important;
}

.uxp-meta {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center;
    margin: 2px 0 20px;
    font-size: 13px;
}

.uxp-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--uxp-blue-link);
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.uxp-remember input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--uxp-blue-link);
}

.uxp-forgot {
    color: var(--uxp-blue-link) !important;
    font-weight: 600;
    text-decoration: none !important;
}

.uxp-forgot:hover {
    text-decoration: underline !important;
}

.uxp-signin {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--uxp-navy);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--uxp-font);
}

.uxp-signin svg {
    width: 16px;
    height: 16px;
}

.uxp-signin:hover {
    background: var(--uxp-navy-deep);
    color: #fff;
}

.uxp-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--uxp-soft);
    font-size: 12px;
    font-weight: 600;
}

.uxp-or::before,
.uxp-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--uxp-line);
}

.uxp-ms {
    width: 100%;
    height: 48px;
    border: 1px solid var(--uxp-line);
    border-radius: 10px;
    background: #fff;
    color: #1b2d44;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--uxp-font);
}

.uxp-ms:hover {
    background: #f8fafc;
}

.uxp-ms-logo {
    width: 18px;
    height: 18px;
}

.uxp-auth-footer {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
    color: #0a1d41;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.75);
}

.uxp-auth-footer a {
    color: var(--uxp-blue-link) !important;
    text-decoration: none !important;
    margin-left: 14px;
    font-weight: 600;
    text-shadow: none;
}

.uxp-auth-footer a:first-child {
    margin-left: 0;
}

.uxp-auth-footer a:hover {
    text-decoration: underline !important;
}

@media (min-width: 1600px) {
    .uxp-hero-bg {
        object-position: left 35% center;
    }

    .uxp-login .login100-form,
    .uxp-login .uxp-auth {
        max-width: 560px !important;
        padding: 104px 56px 24px !important;
    }

    .uxp-card {
        max-width: 420px;
    }
}

@media (min-width: 1920px) {
    .uxp-topbar {
        padding: 34px 56px 0 56px;
    }

    .uxp-hero-inner {
        width: min(50%, 760px);
        padding: 140px 24px 160px 64px;
    }

    .uxp-hero-copy h1 {
        font-size: 72px;
    }

    .uxp-tagline {
        left: 64px;
        bottom: 36px;
    }
}

@media (max-width: 1280px) {
    .uxp-topbar {
        padding: 24px 28px 0 28px;
    }

    .uxp-hero-inner {
        width: min(52%, 580px);
        padding: 112px 16px 130px 32px;
    }

    .uxp-tagline {
        left: 32px;
    }

    .uxp-login .login100-form,
    .uxp-login .uxp-auth {
        width: 44% !important;
        padding: 88px 28px 18px !important;
    }
}

@media (max-width: 992px) {
    body.uxp-login {
        overflow: auto !important;
    }

    .uxp-login .limiter,
    .uxp-login .container-login100,
    .uxp-login .wrap-login100 {
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
    }

    .uxp-topbar {
        position: relative;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        padding: 20px 16px 0;
    }

    .uxp-login .login100-more,
    .uxp-login .uxp-hero {
        position: relative !important;
        min-height: 540px;
        height: auto !important;
    }

    .uxp-hero-bg {
        object-position: center left;
    }

    .uxp-hero-inner {
        width: 100%;
        min-height: 420px;
        padding: 24px 20px 110px;
    }

    .uxp-tagline {
        left: 20px;
        bottom: 22px;
    }

    .uxp-login .login100-form,
    .uxp-login .uxp-auth {
        position: relative !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        padding: 0 16px 28px !important;
        margin-top: -48px !important;
    }

    .uxp-card {
        margin: 0 auto 16px;
    }

    .uxp-auth-footer {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .uxp-hero-copy h1 {
        font-size: 40px;
    }

    .uxp-card {
        padding: 28px 20px 24px;
        border-radius: 18px;
    }
}
