/* Rank Engine owned login page */

body.re-login-template {
    min-height: 100vh;
    color: var(--re-white);
    background: #014e8a;
    font-family: Rubik, sans-serif;
}

body.re-login-template .site_wrapper,
body.re-login-template .main_wrapper {
    min-height: 100vh;
    background: transparent;
}

body.re-login-template .main_wrapper {
    margin-top: 0 !important;
}

body.re-login-template .gt3_header_builder.mainnav.custom-main-nav {
    background: transparent !important;
}

body.re-login-template .gt3_header_builder.mainnav.custom-main-nav,
body.re-login-template .gt3_header_builder__container,
body.re-login-template .gt3_header_builder__section,
body.re-login-template .gt3_header_builder__section-container {
    background-color: transparent !important;
    background-image: none !important;
}

body.re-login-template .gt3_header_builder__section.gt3_header_builder__section--middle {
    background: transparent !important;
}

body.re-login-template .gt3_header_builder .logo_container {
    visibility: hidden !important;
    pointer-events: none;
}

body.re-login-template .custom-navigation nav.main-menu {
    display: none !important;
}

body.re-login-template .gt3_header_builder_component.gt3_header_builder_menu_component {
    height: auto !important;
    min-height: 0 !important;
    display: block;
}

.re-login {
    min-height: 100vh;
    color: var(--re-white);
    background: #014e8a;
}

.re-login__surface {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 122px 0 94px;
    overflow: hidden;
    background:
        radial-gradient(circle at 74% 34%, rgba(57, 154, 211, 0.42), transparent 31%),
        linear-gradient(90deg, rgba(1, 78, 138, 0.92), rgba(1, 78, 138, 0.82)),
        url("../img/textures/rankengine-geometry-base.png") center / cover no-repeat,
        #014e8a;
}

.re-login__shell {
    position: relative;
    z-index: 1;
    width: min(355px, calc(100% - 48px));
    margin: 0 auto;
}

.re-login__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.re-login-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 0 26px;
    text-decoration: none;
}

.re-login-logo img {
    width: auto;
    height: 35px;
    display: block;
}

.re-login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 35px;
    color: #17263a;
    background: var(--re-white);
    border-radius: 3px;
    box-shadow: 0 20px 44px rgba(0, 28, 52, 0.22);
}

.re-login-form.is-submitting {
    pointer-events: none;
}

.re-login-field {
    width: 100%;
    display: block;
    margin: 0;
}

.re-login-field span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.re-login-field input {
    width: 100%;
    min-height: 50px;
    display: block;
    padding: 0 12px;
    color: #17263a;
    background: #fff;
    border: 1px solid #c8cfd6;
    border-radius: 3px;
    outline: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.re-login-field input::placeholder {
    color: #4a5870;
    opacity: 0.9;
}

.re-login-field input:focus {
    border-color: #087bb0;
    box-shadow: 0 0 0 3px rgba(8, 123, 176, 0.14);
}

.re-login-field--password {
    position: relative;
}

.re-login-field--password input {
    padding-right: 45px;
}

.re-login-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #2051e0;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 180ms ease, background 180ms ease;
}

.re-login-password-toggle:hover,
.re-login-password-toggle:focus-visible {
    color: #0b3cb6;
    background: rgba(32, 81, 224, 0.08);
    transition: color 180ms ease, background 180ms ease;
}

.re-login-password-toggle svg {
    width: 20px;
    height: 20px;
}

.re-login-password-toggle__hide,
.re-login-password-toggle.is-visible .re-login-password-toggle__show {
    display: none;
}

.re-login-password-toggle.is-visible .re-login-password-toggle__hide {
    display: block;
}

.re-login-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 4px;
}

.re-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #52627a;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
}

.re-login-switch {
    position: relative;
    width: 30px;
    height: 18px;
    display: inline-flex;
    flex: 0 0 auto;
}

.re-login-switch input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.re-login-switch__track {
    position: absolute;
    inset: 0;
    display: block;
    background: transparent;
    border: 1px solid #b7b7b7;
    border-radius: 999px;
    pointer-events: none;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.re-login-switch__track::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 3px;
    width: 12px;
    height: 12px;
    background: #b7b7b7;
    border-radius: 50%;
    transition: left 180ms ease, background-color 180ms ease;
}

.re-login-switch input:checked + .re-login-switch__track {
    background: var(--re-orange);
    border-color: var(--re-orange);
}

.re-login-switch input:checked + .re-login-switch__track::after {
    left: 13px;
    background: #fff;
}

body.re-login-template .re-login-forgot,
body.re-login-template .re-login-forgot:visited {
    width: auto;
    height: auto;
    min-height: 0;
    display: inline;
    padding: 0;
    margin: 0;
    color: var(--re-orange);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-family: Manrope, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

body.re-login-template .re-login-forgot:hover,
body.re-login-template .re-login-forgot:focus-visible {
    color: var(--re-orange-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.re-login-submit {
    position: relative;
    min-width: 103px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: var(--re-white);
    background: var(--re-orange);
    border: 0;
    border-radius: 3px;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-transform: none !important;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 29, 52, 0);
    transform: translateY(0);
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.re-login-submit:hover,
.re-login-submit:focus-visible {
    background: var(--re-orange-dark);
    box-shadow: 0 12px 24px rgba(255, 224, 191, 0.74), 0 0 24px rgba(243, 129, 69, 0.22);
    transform: translateY(-6px);
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.re-login-submit__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    display: none;
    margin: -7px 0 0 -7px;
    border: 2px solid rgba(255, 255, 255, 0.62);
    border-top-color: #fff;
    border-radius: 50%;
    animation: re-login-spin 700ms linear infinite;
}

.re-login-form.is-submitting .re-login-submit {
    transform: translateY(1px);
}

.re-login-form.is-submitting .re-login-submit__spinner {
    display: block;
}

.re-login-form.is-submitting .re-login-submit__label {
    opacity: 0;
}

.re-login-form__errors {
    width: 100%;
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    color: #7e1f16;
    background: #fff3f0;
    border: 1px solid #ffc8b7;
    border-radius: 4px;
}

.re-login-form__errors p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.re-login-form__notice {
    width: 100%;
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    color: #075342;
    background: #eefaf6;
    border: 1px solid #bde8dc;
    border-radius: 4px;
}

.re-login-form__notice p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.re-login-field--trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.re-login-signup {
    margin: 38px 0 0;
    color: var(--re-white);
    font-family: Manrope, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

.re-login-signup a {
    color: var(--re-white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.48);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.re-login-signup a:hover,
.re-login-signup a:focus-visible {
    color: #ffcbb4;
    text-decoration-color: transparent;
}

body.re-login-modal-open {
    overflow: hidden;
}

.re-login-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.re-login-modal[hidden] {
    display: none !important;
}

.re-login-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 220ms ease;
}

.re-login-modal.is-closing {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.re-login-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background: rgba(0, 21, 38, 0.64);
    border: 0;
    border-radius: 0;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.re-login-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 34px;
    color: #17263a;
    background: var(--re-white);
    border: 1px solid rgba(8, 123, 176, 0.16);
    border-radius: 3px;
    box-shadow: 0 24px 56px rgba(0, 21, 38, 0.32);
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 220ms ease, transform 220ms ease;
}

.re-login-modal.is-open .re-login-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.re-login-modal.is-closing .re-login-modal__dialog {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
}

.re-login-modal__dialog h2 {
    margin: 0 34px 12px 0;
    color: var(--re-saas-ink);
    font-family: Manrope, sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.re-login-modal__intro {
    margin: 0 0 22px;
    color: #465f7c;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.re-login-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 30px;
    height: 30px;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 180ms ease;
}

.re-login-modal__close:hover,
.re-login-modal__close:focus-visible {
    background: rgba(8, 123, 176, 0.08);
    transition: background-color 180ms ease;
}

.re-login-modal__close span {
    position: absolute;
    width: 16px;
    height: 2px;
    display: block;
    background: #32506d;
    border-radius: 2px;
}

.re-login-modal__close span:first-child {
    transform: rotate(45deg);
}

.re-login-modal__close span:last-child {
    transform: rotate(-45deg);
}

.re-login-modal__form {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.re-login-modal__field {
    display: grid;
    gap: 8px;
    margin: 0;
}

.re-login-modal__field span {
    color: #244866;
    font-family: Manrope, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.re-login-modal__field input {
    width: 100%;
    min-height: 50px;
    display: block;
    padding: 0 12px;
    margin: 0;
    color: #17263a;
    background: #fff;
    border: 1px solid #c8cfd6;
    border-radius: 3px;
    box-sizing: border-box;
    outline: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.re-login-modal__field input:focus {
    border-color: #087bb0;
    box-shadow: 0 0 0 3px rgba(8, 123, 176, 0.14);
}

.re-login-modal__submit {
    justify-self: start;
    min-width: 132px;
    margin-top: 2px;
}

@keyframes re-login-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1180px) {
    .re-login__surface {
        align-items: flex-start;
        padding: 166px 0 72px;
    }
}

@media (max-width: 767px) {
    body.re-login-template .gt3_header_builder__section-container.container {
        width: calc(100% - 30px);
    }

    .re-login__surface {
        padding: 166px 0 70px;
    }

    .re-login__shell {
        width: calc(100% - 34px);
    }

    .re-login-logo {
        margin-bottom: 24px;
    }

    .re-login-logo img {
        height: 30px;
    }

    .re-login-form {
        gap: 28px;
        padding: 32px;
    }

    .re-login-field input {
        font-size: 14px;
    }

    .re-login-actions {
        gap: 12px;
    }

    .re-login-forgot,
    .re-login-remember {
        font-size: 12px;
    }

    .re-login-signup {
        margin-top: 37px;
    }

    .re-login-modal {
        padding: 17px;
    }

    .re-login-modal__dialog {
        max-height: calc(100vh - 34px);
        padding: 30px 24px 26px;
    }

    .re-login-modal__dialog h2 {
        font-size: 23px;
    }
}

@media (max-width: 374px) {
    .re-login__shell {
        width: calc(100% - 28px);
    }

    .re-login-form {
        padding-right: 24px;
        padding-left: 24px;
    }
}
