/* DEV-8541: planet rising. Loaded only by Home/Login, after the shared styles. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../login/inter-latin-ext.woff2?v=1") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../login/inter-latin.woff2?v=1") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url("../login/manrope-latin-ext.woff2?v=1") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url("../login/manrope-latin.woff2?v=1") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.tfl-login {
    --tf-navy: #00467f;
    --tf-navy-hover: #003866;
    --tf-deep: #0b1f33;
    --tf-text: #1a2433;
    --tf-muted: #5f6b7a;
    --tf-line: #e1e6ed;
    --tf-input: #cfd6df;
    --tf-danger: #c8102e;
    --tf-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --tf-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    font-family: var(--tf-ui);
    color: var(--tf-text);
    background: var(--tf-deep) !important; /* custom.css sets the login background. */
    -webkit-font-smoothing: antialiased;
}

body.tfl-login .tfl-shell,
body.tfl-login .tfl-shell *,
body.tfl-login .tfl-shell *::before,
body.tfl-login .tfl-shell *::after {
    box-sizing: border-box;
}

body.tfl-login [hidden] { display: none !important; }

body.tfl-login .tfl-shell { position: relative; min-height: 100vh; }

body.tfl-login .tfl-globe-bg { position: absolute; inset: 0; pointer-events: none; }
body.tfl-login .tfl-globe-bg img { display: block; width: 100%; height: 100%; }
body.tfl-login .tfl-globe-bg::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 170px;
    background: linear-gradient(to top, rgba(8, 23, 40, 0.96) 35%, rgba(8, 23, 40, 0));
}

body.tfl-login .tfl-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    grid-template-rows: auto 1fr auto;
    gap: 48px 96px;
    max-width: 1520px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 48px 64px 36px;
}

body.tfl-login .tfl-brand {
    display: contents;
    color: #fff;
}

body.tfl-login .tfl-logo { grid-area: 1 / 1; display: block; width: 190px; max-width: 100%; height: auto; }
body.tfl-login .tfl-headline { grid-area: 2 / 1; align-self: center; max-width: 620px; margin-bottom: 34vh; }
body.tfl-login .tfl-headline h1 {
    margin: 0 0 20px;
    font: 800 clamp(40px, 4.8vw, 68px)/1.02 var(--tf-display);
    letter-spacing: -0.035em;
    color: #fff;
    text-wrap: balance;
}
body.tfl-login .tfl-headline p {
    max-width: 42ch;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: #c3cedb;
    text-wrap: balance;
}

body.tfl-login .copyright,
body.tfl-login .copyright span,
body.tfl-login .copyright small,
body.tfl-login .copyright a {
    font: 400 13px/1.6 var(--tf-ui);
    color: #9fb0c3;
}
body.tfl-login .copyright { margin: 0; padding: 0; text-align: left; }
body.tfl-login .copyright br { display: none; }
body.tfl-login .copyright small::before { content: " · "; }
body.tfl-login .copyright a { color: #c3cedb; text-decoration: underline; }
/* The footer follows the form in the DOM, preserving the natural keyboard order. */
body.tfl-login .tfl-foot { grid-area: 3 / 1; }

body.tfl-login .tfl-formcol { grid-area: 1 / 2 / 4 / 3; display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
body.tfl-login .tfl-card {
    width: 100%;
    max-width: 430px;
    padding: 40px 40px 32px;
    background: #fff;
    border-radius: 14px !important; /* components.css forces square corners globally. */
    box-shadow: 0 30px 80px rgba(3, 12, 24, 0.45);
    overflow-wrap: anywhere;
}
body.tfl-login .tfl-cust-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--tf-line);
}
body.tfl-login .tfl-cust-logo img { display: block; width: auto; height: 96px; max-width: 100%; max-height: none; object-fit: contain; }
body.tfl-login .login-form { margin: 0 !important; } /* custom.css adds 40px above this form. */
body.tfl-login .form-title {
    margin: 0 0 24px;
    font: 800 30px/1.15 var(--tf-display);
    letter-spacing: -0.02em;
    color: var(--tf-deep);
}
body.tfl-login .form-title small { display: block; margin-top: 6px; font: 400 15px/1.5 var(--tf-ui); letter-spacing: 0; color: var(--tf-muted); }
body.tfl-login .form-group { margin: 0 0 16px; }
body.tfl-login .control-label { display: block; margin: 0 0 6px; padding: 0; font-size: 14px; font-weight: 600; color: var(--tf-text); }

/* Keep Password before Forgot password in keyboard order while aligning the label row. */
body.tfl-login .tfl-password-group { display: grid; grid-template-columns: 1fr auto; }
body.tfl-login .tfl-password-group .control-label { grid-area: 1 / 1; }
body.tfl-login .tfl-password-group .input-icon { grid-area: 2 / 1 / auto / -1; min-width: 0; }
body.tfl-login .tfl-password-group .help-block { grid-column: 1 / -1; }
body.tfl-login #forgot-password-login {
    grid-area: 1 / 2;
    align-self: start;
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    font: 600 13px/20px var(--tf-ui);
    color: var(--tf-navy);
}
body.tfl-login #forgot-password-login:hover { text-decoration: underline; }
body.tfl-login .form-control {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--tf-input);
    border-radius: 6px !important;
    font: 400 15px var(--tf-ui);
    color: var(--tf-text);
    box-shadow: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
body.tfl-login .form-control:hover { border-color: #a9b4c2; }
body.tfl-login .form-control:focus { outline: none; border-color: var(--tf-navy); box-shadow: 0 0 0 3px rgba(0, 70, 127, 0.2); }
body.tfl-login .form-control:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset; -webkit-text-fill-color: var(--tf-text); }
body.tfl-login .form-control:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(0, 70, 127, 0.2); }
body.tfl-login .has-error .form-control,
body.tfl-login .input-validation-error { border-color: var(--tf-danger); }
body.tfl-login .help-block,
body.tfl-login .field-validation-error { display: block; margin: 6px 0 0; font-size: 13px; color: var(--tf-danger); }

body.tfl-login .alert,
body.tfl-login .validation-summary-errors { position: relative; margin: 0 0 16px; padding: 10px 34px 10px 12px; border: 1px solid transparent; border-radius: 6px !important; font-size: 14px; line-height: 1.45; }
body.tfl-login .alert-danger,
body.tfl-login .validation-summary-errors { background: #fdf0f2 !important; border-color: #f5c2cb !important; color: var(--tf-danger) !important; }
body.tfl-login .validation-summary-errors ul { margin: 0; padding-left: 18px; }
/* custom.css uses !important for alert colours on every page. */
body.tfl-login .alert-warning { background: #fcefdc !important; border-color: #f3d3a4 !important; color: #8f4e00 !important; }
body.tfl-login .alert-info { background: #e6eefb !important; border-color: #c3d4f3 !important; color: #1f55b0 !important; }
body.tfl-login .alert .close { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; margin: 0; padding: 0; border: 0; background: none !important; box-shadow: none; opacity: 0.6; color: inherit; text-indent: 0; text-shadow: none; font: 400 18px/20px var(--tf-ui); }
body.tfl-login .alert .close::before { content: "\00D7"; }
body.tfl-login .alert .close:hover { opacity: 1; }

body.tfl-login .tfl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 12px; }
body.tfl-login .checkbox-login { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 14px; font-weight: 400; cursor: pointer; }
body.tfl-login .checker { position: relative; display: inline-block; width: 17px; height: 17px; margin: 0; }
body.tfl-login .checker span { display: block; position: relative; width: 17px; height: 17px; background: #fff; border: 1.5px solid #98a4b3; border-radius: 4px !important; }
body.tfl-login .checker span.checked { background: var(--tf-navy); border-color: var(--tf-navy); }
body.tfl-login .checker span.checked::after { content: ""; position: absolute; left: 4.5px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
body.tfl-login .checker input { position: absolute; top: 0; left: 0; width: 17px; height: 17px; margin: 0; opacity: 0; cursor: pointer; }
body.tfl-login .checker:focus-within { outline: 2px solid var(--tf-navy); outline-offset: 2px; }

body.tfl-login .tfl-submit { height: 50px; padding: 0 18px; border: 0; border-radius: 6px !important; background: var(--tf-navy); color: #fff; font: 700 16px var(--tf-display); box-shadow: none; text-shadow: none; }
body.tfl-login .tfl-actions .tfl-submit { flex: 1 0 100%; width: 100%; margin-top: 4px; }
body.tfl-login .tfl-submit:hover { background: var(--tf-navy-hover); color: #fff; }
body.tfl-login a:focus-visible,
body.tfl-login button:focus-visible { outline: 2px solid var(--tf-navy) !important; outline-offset: 2px !important; }
body.tfl-login .copyright a:focus-visible { outline-color: #c3cedb !important; }
body.tfl-login .tfl-alt { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
body.tfl-login .tfl-alt:has(> *) { margin-top: 12px; }
body.tfl-login .tfl-divider { display: flex; align-items: center; gap: 12px; margin-top: 10px; color: var(--tf-muted); font-size: 13px; }
body.tfl-login .tfl-divider::before,
body.tfl-login .tfl-divider::after { content: ""; flex: 1; height: 1px; background: var(--tf-line); }
body.tfl-login .tfl-sso { display: flex; align-items: center; justify-content: center; height: 50px; padding: 0 16px; border: 1px solid var(--tf-input); border-radius: 6px !important; background: #fff; color: var(--tf-text); font: 600 15px var(--tf-ui); text-decoration: none; text-shadow: none; box-shadow: none; }
body.tfl-login .tfl-sso:hover { border-color: #a9b4c2; background: #fafbfc; color: var(--tf-text); }
body.tfl-login .tfl-track { display: inline-flex; align-items: center; align-self: center; gap: 6px; padding: 4px 6px; color: var(--tf-navy); font: 600 14px/20px var(--tf-ui); text-decoration: none; }
body.tfl-login .tfl-track:hover { text-decoration: underline; }
body.tfl-login .tfl-forgot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0 0; padding: 0; border: 0; background: none; }
body.tfl-login .tfl-forgot-actions::before,
body.tfl-login .tfl-forgot-actions::after { display: none; }
body.tfl-login #back-to-login { flex: 0 0 auto; max-width: 100%; }
body.tfl-login #forgot-password-btn { flex: 1 0 auto; max-width: 100%; white-space: normal; }

/* Keep the 48px fields, 50px buttons and 96px logo on short laptop screens. */
@media (min-width: 961px) and (max-height: 800px) {
    body.tfl-login .tfl-grid { padding-top: 20px; padding-bottom: 20px; row-gap: 24px; }
    body.tfl-login .tfl-headline { margin-bottom: 20vh; }
    body.tfl-login .tfl-card { padding-top: 16px; padding-bottom: 16px; }
    body.tfl-login .tfl-cust-logo { margin-bottom: 12px; padding-bottom: 8px; }
    body.tfl-login .form-title { margin-bottom: 12px; }
    body.tfl-login .form-group { margin-bottom: 8px; }
    body.tfl-login .tfl-actions { gap: 8px; }
    body.tfl-login .tfl-actions .tfl-submit { margin-top: 0; }
    body.tfl-login .tfl-alt { gap: 6px; }
    body.tfl-login .tfl-alt:has(> *) { margin-top: 8px; }
    body.tfl-login .tfl-divider { margin-top: 0; }
}

body.tfl-login .tfl-alt:has(> .tfl-track:only-child) { margin-top: 12px; }

@media (max-width: 960px) {
    body.tfl-login .tfl-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 32px; padding: 32px 20px 28px; }
    body.tfl-login .tfl-logo,
    body.tfl-login .tfl-headline,
    body.tfl-login .tfl-formcol,
    body.tfl-login .tfl-foot { grid-area: auto; }
    body.tfl-login .tfl-headline { margin-bottom: 0; }
    body.tfl-login .tfl-headline h1 { margin: 0; }
    body.tfl-login .tfl-headline p,
    body.tfl-login .tfl-globe-bg { display: none; }
    body.tfl-login .tfl-foot { order: 3; }
    body.tfl-login .tfl-formcol { justify-content: center; }
}

@media (max-width: 400px) {
    body.tfl-login .tfl-card { padding: 28px 20px 24px; }
}
