/* GymRealm portal branding — aligned with gymrealmmanager.com */
:root {
    --gr-primary: #248ca4;
    --gr-primary-dark: #1c7388;
    --gr-hero: #51c5eb;
    --gr-ink: #101218;
    --gr-text: #4c5253;
    --gr-muted: #6b7374;
    --gr-bg: #f3f6f6;
    --gr-white: #ffffff;
    --gr-line: #e3e8e8;
    --gr-radius: 3px;
    --gr-header-h: 88px;
    --gr-font: Inter, "Segoe UI", Roboto, sans-serif;
}

/* -------------------------------------------------------------------------- */
/* Shared layout                                                              */
/* -------------------------------------------------------------------------- */
body.landing {
    font-family: var(--gr-font);
    color: var(--gr-text);
    background: var(--gr-white);
}

body.landing #wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--gr-white);
}

.gr-site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--gr-white);
    border-bottom: 1px solid var(--gr-line);
    padding: 0;
}

.gr-site-header .gr-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 32px;
    min-height: var(--gr-header-h);
    box-sizing: border-box;
}

.gr-site-header .gr-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    float: none;
}

.gr-site-header .gr-logo img {
    display: block;
    height: 52px;
    width: auto;
}

.gr-site-header .gr-logo-light {
    display: none;
}

.gr-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.gr-header-tools {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 8px;
}

.gr-header-more {
    color: var(--gr-ink);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.gr-header-more:hover {
    color: var(--gr-primary);
}

.gr-site-header #lang {
    position: relative;
    padding: 0;
    display: block;
}

.gr-site-header #lang > a.country {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    color: var(--gr-ink);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
}

/* Only the list items are hidden while the menu is closed, so the styled box
   stayed behind as an empty white strip running under the Login button. */
.gr-site-header #lang ul:not(.true) {
    display: none;
}

.gr-site-header #lang ul {
    top: 100%;
    left: 0;
    min-width: 88px;
    background: var(--gr-white);
    border: 1px solid var(--gr-line);
    box-shadow: 0 8px 24px rgba(16, 18, 24, 0.08);
}

.gr-site-header #lang ul li a {
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 10px;
    color: var(--gr-ink);
    background: var(--gr-white);
    border: 0;
    box-sizing: border-box;
}

.gr-site-header #lang ul li a:hover {
    background: var(--gr-bg);
    color: var(--gr-primary);
}

.gr-site-header #lang i.flag {
    margin: 0;
}

.gr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-family: var(--gr-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    text-transform: none;
    border-radius: var(--gr-radius);
    border: 2px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gr-btn-primary {
    background: var(--gr-primary);
    color: var(--gr-white);
    border-color: var(--gr-primary);
}

.gr-btn-primary:hover {
    background: var(--gr-primary-dark);
    border-color: var(--gr-primary-dark);
    color: var(--gr-white);
}

.gr-btn-outline {
    background: transparent;
    color: var(--gr-white);
    border-color: var(--gr-white);
}

.gr-btn-outline:hover {
    background: var(--gr-white);
    color: var(--gr-primary);
}

.gr-btn-ghost {
    background: transparent;
    color: var(--gr-white);
    border-color: transparent;
    padding-left: 8px;
    padding-right: 8px;
}

.gr-btn-ghost:hover {
    color: var(--gr-white);
    opacity: 0.85;
}

body.landing:not(.page-home-index) .gr-btn-outline {
    color: var(--gr-primary);
    border-color: var(--gr-primary);
}

body.landing:not(.page-home-index) .gr-btn-outline:hover {
    background: var(--gr-primary);
    color: var(--gr-white);
}

body.landing:not(.page-home-index) .gr-btn-ghost {
    color: var(--gr-ink);
}

body.landing.page-home-index .gr-site-header {
    position: absolute;
    background: transparent;
    border-bottom: 0;
}

body.landing.page-home-index .gr-logo-dark {
    display: none;
}

body.landing.page-home-index .gr-logo-light {
    display: block;
}

body.landing.page-home-index .gr-header-more,
body.landing.page-home-index .gr-site-header #lang > a.country {
    color: var(--gr-white);
}

body.landing.page-home-index .gr-site-header #lang ul {
    background: var(--gr-white);
}

body.landing.page-home-index .gr-site-header #lang ul li a {
    color: var(--gr-ink);
}

body.landing.page-home-index .page-top-section .gr-btn-primary {
    background: var(--gr-white);
    color: var(--gr-primary);
    border-color: var(--gr-white);
}

body.landing.page-home-index .page-top-section .gr-btn-primary:hover {
    background: transparent;
    color: var(--gr-white);
}

/* The home page header is transparent over the teal hero, where the primary
   teal fill disappears. Same white treatment as the hero call to action. */
body.landing.page-home-index .gr-site-header .gr-btn-primary {
    background: var(--gr-white);
    color: var(--gr-primary);
    border-color: var(--gr-white);
}

body.landing.page-home-index .gr-site-header .gr-btn-primary:hover {
    background: transparent;
    color: var(--gr-white);
    border-color: var(--gr-white);
}

body.landing.page-home-index .content.container {
    margin-top: 0;
    background: transparent;
    padding: 0;
    flex: 1 0 auto;
}

body.landing:not(.page-home-index) .content.container {
    margin-top: 0;
    flex: 1 0 auto;
    background: var(--gr-white);
}

/* -------------------------------------------------------------------------- */
/* Home hero                                                                  */
/* -------------------------------------------------------------------------- */
body.landing .page-top-section {
    position: relative;
    display: flex;
    align-items: stretch;
    padding: 0;
    min-height: calc(100vh - 88px);
    background-color: var(--gr-hero);
    background-image: none;
}

body.landing .page-top-section:before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-image: url(/content/img/tech-startup-hero-bg-color-shape.svg);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto 130%;
    pointer-events: none;
}

body.login-page #login .vision-branded:before {
    display: none;
}

body.landing .page-top-section .element-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 40px 64px;
    box-sizing: border-box;
    text-align: left;
}

body.landing .page-top-section .element-text {
    padding-left: 0;
    max-width: 480px;
    flex: 1 1 46%;
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
}

body.landing .page-top-section .element-text h1,
body.landing .page-top-section .element-text h2 {
    font-family: var(--gr-font);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

body.landing .page-top-section .element-text p {
    margin: 0 0 28px;
    max-width: none;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

body.landing .page-top-section .element-text a {
    color: var(--gr-white);
    font-weight: 600;
    text-decoration: underline;
}

body.landing .page-top-section .gr-kicker {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.landing .page-top-section .gr-hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

body.landing .page-top-section .gr-hero-actions a {
    font-family: var(--gr-font);
    font-size: 16px;
    font-weight: 600;
}

.gr-hero-collage {
    position: relative;
    flex: 0 0 640px;
    width: 640px;
    height: 500px;
}

.gr-hero-shot {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(16, 18, 24, 0.22);
    background: #0f3d4a;
}

.gr-hero-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gr-hero-shot figcaption {
    position: absolute;
    left: 12px;
    bottom: 10px;
    margin: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.gr-hero-shot-fitness {
    width: 360px;
    height: 260px;
    top: 0;
    left: 0;
    z-index: 2;
}

.gr-hero-shot-climb {
    width: 320px;
    height: 240px;
    top: 22px;
    right: 0;
    z-index: 3;
}

.gr-hero-shot-fec {
    width: 380px;
    height: 240px;
    bottom: 0;
    left: 110px;
    z-index: 4;
}

body.landing .page-top-section .element-img {
    position: relative;
    right: auto;
    flex: 1 1 48%;
    width: auto;
    max-width: 560px;
}

body.landing .page-top-section .element-img img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(16, 18, 24, 0.18);
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
.gr-site-footer {
    background: var(--gr-white);
    border-top: 1px solid var(--gr-line);
    margin-top: auto;
}

.gr-footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 0.7fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 32px 32px;
}

.gr-footer-main.gr-footer-simple {
    grid-template-columns: 1.4fr auto;
    align-items: center;
    padding: 28px 32px 20px;
}

.gr-footer-simple .gr-footer-col ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: flex-end;
}

.gr-footer-simple .gr-footer-col li {
    margin: 0;
}

.gr-footer-brand a {
    color: var(--gr-primary);
    text-decoration: none;
}

.gr-footer-brand a:hover {
    text-decoration: underline;
}

.gr-footer-brand img {
    height: 48px;
    width: auto;
    margin-bottom: 14px;
}

.gr-footer-brand p,
.gr-footer-col p {
    margin: 0;
    color: var(--gr-muted);
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    font-weight: 400;
}

.gr-footer-col h4 {
    margin: 0 0 14px;
    color: var(--gr-ink);
    font-size: 18px;
    font-weight: 600;
}

.gr-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gr-footer-col li {
    display: block;
    margin: 0 0 8px;
}

.gr-footer-col a {
    color: var(--gr-muted);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.gr-footer-col a:hover {
    color: var(--gr-primary);
}

.gr-footer-social {
    display: flex;
    gap: 8px;
}

.gr-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--gr-white);
    border-radius: 4px;
    font-size: 16px;
}

.gr-footer-social .fb { background: #1877f2; }
.gr-footer-social .yt { background: #ff0000; }
.gr-footer-social .sk { background: #00aff0; }

.gr-footer-copy {
    border-top: 1px solid var(--gr-line);
    padding: 16px 32px;
    text-align: center;
    color: var(--gr-muted);
    font-size: 13px;
    font-weight: 400;
}

.gr-menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: inherit;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
}

@media screen and (max-width: 1100px) {
    body.landing .page-top-section .element-text h1,
    body.landing .page-top-section .element-text h2 {
        font-size: 34px;
    }

    .gr-footer-main,
    .gr-footer-main.gr-footer-simple {
        grid-template-columns: 1fr;
    }

    .gr-footer-simple .gr-footer-col ul {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 860px) {
    .gr-menu-toggle {
        display: inline-flex;
        color: var(--gr-ink);
    }

    body.landing.page-home-index .gr-menu-toggle {
        color: var(--gr-white);
    }

    .gr-header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--gr-white);
        padding: 12px 20px 20px;
        box-shadow: 0 12px 30px rgba(16, 18, 24, 0.12);
    }

    .gr-site-header.is-open .gr-header-nav {
        display: flex;
    }

    .gr-header-tools {
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        gap: 8px;
    }

    .gr-header-more,
    body.landing.page-home-index .gr-header-more,
    body.landing.page-home-index .gr-site-header #lang > a.country {
        color: var(--gr-ink);
    }

    /* The collapsed nav panel is white, so the header button goes back to teal. */
    body.landing.page-home-index .gr-site-header .gr-btn-primary {
        background: var(--gr-primary);
        color: var(--gr-white);
        border-color: var(--gr-primary);
    }

    body.landing.page-home-index .gr-site-header .gr-btn-primary:hover {
        background: var(--gr-primary-dark);
        color: var(--gr-white);
        border-color: var(--gr-primary-dark);
    }

    body.landing .page-top-section {
        min-height: 0;
        padding: 0;
    }

    body.landing .page-top-section .element-container {
        display: block;
        padding: 112px 20px 40px;
    }

    body.landing .page-top-section .element-text h1,
    body.landing .page-top-section .element-text h2 {
        font-size: 30px;
    }

    .gr-hero-collage {
        width: 100%;
        max-width: 500px;
        height: 340px;
        margin: 28px auto 0;
        flex: none;
    }

    .gr-hero-shot-fitness {
        width: 58%;
        height: 58%;
    }

    .gr-hero-shot-climb {
        width: 52%;
        height: 52%;
    }

    .gr-hero-shot-fec {
        width: 62%;
        height: 48%;
        left: 18%;
    }
}

.gr-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
body.login-page {
    margin: 0;
    min-height: 100vh;
    font-family: var(--gr-font);
    background-color: var(--gr-hero);
    color: var(--gr-text);
}

body.login-page #login,
body.login-page #login input,
body.login-page #login a,
body.login-page #login button,
body.login-page #login .label {
    font-family: var(--gr-font);
}

body.login-page #login {
    position: relative;
    min-height: 100vh;
    background-color: var(--gr-hero);
    background-image: url(/content/img/tech-startup-hero-bg-color-shape.svg);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto 130%;
}

body.login-page .body.login {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 100vh;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 48px 16px;
    background: transparent;
    box-sizing: border-box;
}

body.login-page .gr-login-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

body.login-page .gr-login-scene .gr-hero-collage {
    position: absolute;
    top: 50%;
    right: 5%;
    flex: none;
    width: 640px;
    height: 500px;
    transform: translateY(-50%);
}

body.login-page #login .vision,
body.login-page #login .vision-branded,
body.login-page #login .vision-photo {
    display: none !important;
}

body.login-page #login .auth,
body.login-page #login .auth.aus {
    position: relative;
    z-index: 1;
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 400px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    background: transparent;
    box-sizing: border-box;
}

body.login-page #login .auth-card {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    padding: 32px 28px 24px;
    text-align: center;
    background: var(--gr-white);
    border: 1px solid var(--gr-line);
    border-radius: 4px;
    box-sizing: border-box;
}

body.login-page #login .logo {
    float: none !important;
    width: 100% !important;
    margin: 0 auto 20px !important;
    text-align: center !important;
}

body.login-page .vision-branded ~ .auth > .logo,
body.login-page .vision-branded ~ .auth .logo {
    display: block;
}

body.login-page #login .logo img,
body.login-page #login .logo img[src],
body.login-page #login.ch .logo img {
    display: inline-block !important;
    width: auto !important;
    max-width: 132px !important;
    height: auto !important;
    max-height: 36px !important;
    margin: 0 auto !important;
}

body.login-page #login .forms {
    position: relative;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0;
    background: transparent;
    text-align: left;
}

body.login-page #langchange {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 5;
    float: none;
    margin: 0;
    padding: 8px 12px;
    background: var(--gr-white);
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-radius);
    color: var(--gr-ink);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

body.login-page #langchange ul {
    background: var(--gr-white);
    border: 1px solid var(--gr-line);
    width: 100%;
}

body.login-page #langchange ul li {
    background: var(--gr-white);
    color: var(--gr-ink);
    border-bottom: 1px solid var(--gr-line);
    padding: 8px 10px;
}

body.login-page #langchange ul li a {
    color: var(--gr-ink);
}

body.login-page .tabs-nav {
    overflow: visible;
    text-align: center;
    text-transform: none;
    margin-bottom: 8px;
}

body.login-page .tabs-nav ul {
    display: flex;
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid var(--gr-line);
}

body.login-page .tabs-nav ul li {
    float: none;
    width: 50%;
    flex: 1 1 50%;
    border: 0;
}

body.login-page .tabs-nav ul li:first-child,
body.login-page .tabs-nav ul li:nth-child(2) {
    border: 0;
}

body.login-page .tabs-nav ul li a {
    padding: 10px 18px 12px;
    background: transparent;
    color: var(--gr-muted);
    font-family: var(--gr-font);
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    text-align: center;
}

body.login-page .tabs-nav ul li a:hover {
    background: transparent;
    color: var(--gr-primary);
}

body.login-page .tabs-nav ul li.active a {
    background: transparent;
    color: var(--gr-primary);
    box-shadow: inset 0 -2px 0 var(--gr-primary);
}

body.login-page .tabs-content,
body.login-page .tabs-nav + .tabs-content {
    height: auto !important;
    padding: 24px 0 8px !important;
}

body.login-page .tabs-content:before {
    display: none !important;
    content: none !important;
}

body.login-page .tabs-content .tab-pane {
    display: none !important;
    max-width: none !important;
    width: 100% !important;
}

body.login-page .tabs-content .tab-pane.active {
    display: block !important;
}

body.login-page .tabs-content .tab-pane form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
}

body.login-page .body.login .input {
    width: 100%;
    color: var(--gr-ink);
    margin-bottom: 14px;
}

body.login-page .body.login input[type="text"],
body.login-page .body.login input[type="email"],
body.login-page .body.login input[type="password"] {
    float: none !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    background: var(--gr-bg);
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-radius);
    color: var(--gr-ink);
    font-family: var(--gr-font);
    font-size: 15px;
    box-sizing: border-box;
}

body.login-page .body.login input:focus {
    outline: none;
    border-color: var(--gr-primary);
    background: var(--gr-white);
}

body.login-page .body.login .checkbox-field {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    float: none;
    width: auto;
    max-width: 100%;
    margin: 2px 0 4px;
    line-height: 1;
}

body.login-page .checkbox-field .checkbox,
body.login-page .checkbox-field .label {
    float: none;
    width: auto;
    margin: 0;
}

body.login-page .checkbox-field .checkbox {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background: var(--gr-line);
    border-radius: 2px;
}

body.login-page .checkbox-field .checkbox i {
    width: 14px;
    height: 14px;
    margin: 2px;
}

body.login-page .checkbox-field .label,
body.login-page .tabs-content .checkbox-field .label {
    color: var(--gr-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    white-space: nowrap;
}

body.login-page .checkbox-field .checkbox.on {
    background: var(--gr-primary);
}

body.login-page .checkbox-field input[type="hidden"] {
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    visibility: hidden;
}

body.login-page .body.login .input,
body.login-page .body.login .checkbox-field,
body.login-page .body.login .clear {
    float: none !important;
    clear: none !important;
}

body.login-page #login form.formular,
body.login-page .tabs-content .tab-pane form {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

body.login-page .body.login .button,
body.login-page .body.login .button.blue,
body.login-page #login .button,
body.login-page #login .button.blue,
body.login-page #login a.button,
body.login-page #login a.button.blue,
body.login-page #login .login-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 18px 0 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    background: var(--gr-primary) !important;
    border: 0 !important;
    border-radius: var(--gr-radius) !important;
    color: var(--gr-white) !important;
    font-family: var(--gr-font) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-transform: none !important;
}

body.login-page .body.login .button:hover,
body.login-page #login .button.blue:hover,
body.login-page #login a.button.blue:hover {
    background: var(--gr-primary-dark) !important;
    color: var(--gr-white) !important;
}

body.login-page .tabs-nav-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 0 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: right;
}

body.login-page .tabs-nav-footer a,
body.login-page .tabs-nav-footer div {
    font-size: 14px;
    line-height: 1.4;
}

body.login-page .tabs-nav-footer a {
    margin-left: auto;
    color: var(--gr-primary);
    font-weight: 600;
    text-align: right;
}

body.login-page .tabs-nav-footer:after {
    display: none;
}

body.login-page .tabs-content .tab-pane .back-button {
    position: static;
    width: auto;
    min-width: 0;
    margin: 0 0 12px;
    padding: 0;
    background: transparent;
    color: var(--gr-primary);
    text-align: left;
    font-weight: 600;
}

body.login-page .tabs-content .login-desc,
body.login-page h3.aus-title {
    color: var(--gr-ink);
    text-align: center;
    font-family: var(--gr-font);
}

body.login-page h3.aus-title {
    padding: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
    text-transform: none;
}

body.login-page .agree {
    max-width: 380px;
    margin: 16px auto 0;
    color: var(--gr-muted);
    font-size: 13px;
    text-align: center;
}

body.login-page .agree a {
    color: var(--gr-primary);
}

body.login-page .gr-login-more {
    max-width: 380px;
    margin: 24px auto 0;
    color: var(--gr-muted);
    font-size: 13px;
    text-align: center;
}

body.login-page .gr-login-more a {
    color: var(--gr-primary);
    font-weight: 600;
}

/* White-label / Sodexo variants keep their imagery and still get the form refresh */
body.login-page #login.ch .forms {
    background: transparent;
}

body.login-page #login.ch .button.blue,
body.login-page #login.ch button.blue,
body.login-page #login.ch a.button.blue {
    background: #f47932 !important;
}

body.login-page #login.ch .tabs-nav ul li.active a {
    color: #f47932;
    box-shadow: inset 0 -2px 0 #f47932;
}

@media (max-width: 1024px) {
    body.login-page .body.login {
        display: flex !important;
        padding: 32px 16px;
    }

    body.login-page #login .auth,
    body.login-page #login .auth.aus {
        width: 100% !important;
        max-width: 400px !important;
        min-height: 0 !important;
        float: none !important;
    }

    body.login-page #login .auth-card {
        padding: 28px 20px 20px;
    }

    body.login-page .gr-login-scene {
        display: none;
    }

    body.login-page #langchange {
        top: 12px;
        right: 12px;
    }
}
