/* Login marketing layout from the 1440×900 / 390×844 spec. */

body.login-marketing-page {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: #071f46;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    overflow: auto;
}

body.login-marketing-page > .container-fluid.mt-4 {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none;
    width: 100%;
}

body.login-marketing-page > .container-fluid.mt-4 > .alert {
    display: none;
}

body.login-marketing-page .suite-navbar-fragment,
body.login-marketing-page .navbar {
    display: none !important;
}

.login-shell {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 650px) 452px;
    justify-content: space-between;
    align-items: start;
    column-gap: 50px;
    padding: 72px 132px 80px 156px;
    background-color: #071f46;
    background-image: url("../images/login-hero-night-desktop.png");
    background-position: -1in top;
    background-size: cover;
    background-repeat: no-repeat;
}

.login-hero-copy {
    padding-top: 18px;
    width: min(100%, 650px);
}

.login-hero-line {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 68px;
    line-height: 76px;
    color: #fff;
}

.login-hero-line--accent {
    color: #a9ccff;
}

.login-hero-rule {
    width: 56px;
    height: 6px;
    margin: 16px 0 21px;
    background-color: #f59a0a;
    opacity: 1;
}

.login-hero-sub {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: #eef4ff;
}

.login-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    width: 452px;
    max-width: 100%;
}

.login-card {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 616px;
    padding: 52px 30px 40px;
    background: #fff;
    color: #0c1538 !important;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 10, 35, 0.24);
}

.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    width: 88px;
    height: 4px;
    background: #f59a0a;
    border-radius: 0 0 2px 2px;
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 268px;
    height: 86px;
    margin: 0 auto 30px;
}

.login-brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-card h2 {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    font-size: 34px;
    line-height: 42px;
    font-weight: 700;
    color: #0c1538 !important;
    text-align: center;
}

.login-card .login-subtitle {
    margin: 0 0 30px;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    line-height: 28px;
    font-weight: 400;
    color: #2f3a52 !important;
    text-align: center;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.login-field + .login-field {
    margin-top: 28px;
}

.login-card .form-label {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #0c1538 !important;
    text-align: left;
}

.login-card .form-control {
    box-sizing: border-box;
    width: 100%;
    height: 52px;
    min-height: 52px;
    padding: 0 16px;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    background: #fff !important;
    color: #0c1538 !important;
    border: 1px solid #cbd3e2 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    text-align: left;
}

.login-card .form-control::placeholder {
    color: #687694 !important;
    opacity: 1;
}

.login-card .form-control:focus,
.login-submit:focus-visible,
.login-password-toggle:focus-visible,
.login-forgot:focus-visible,
.login-learn:focus-visible {
    outline: 3px solid #719ce8;
    outline-offset: 2px;
    box-shadow: none !important;
}

.login-password-wrap {
    position: relative;
}

.login-password-wrap .form-control {
    padding-right: 52px;
}

.login-password-toggle {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #687694;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.login-password-toggle:hover {
    color: #0c1538;
}

.login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 56px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    background: #173b79;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}

.login-submit:hover,
.login-submit:focus {
    background: #214c94;
    color: #fff;
}

.login-forgot {
    display: block;
    margin-top: 22px;
    text-align: center;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #1754c4 !important;
    text-decoration: underline;
}

.login-forgot:hover {
    color: #173b79 !important;
}

.login-learn {
    display: block;
    width: 100%;
    text-align: center;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: #fff !important;
    text-decoration: none;
}

.login-learn:hover {
    color: #fff !important;
    text-decoration: underline;
}

.login-card .alert {
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

@media (max-width: 1439px) {
    .login-shell {
        grid-template-columns: minmax(0, 650px) minmax(340px, 452px);
        column-gap: clamp(24px, 3.5vw, 50px);
        padding: 72px clamp(24px, 9vw, 132px) 80px clamp(24px, 11vw, 156px);
    }

    .login-hero-line {
        font-size: clamp(40px, 4.72vw, 68px);
        line-height: 1.12;
    }
}

@media (max-width: 900px) {
    .login-shell {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0 16px 56px;
        background-color: #071f46;
        background-image: none;
    }

    .login-shell::before {
        content: "";
        display: block;
        flex-shrink: 0;
        width: calc(100% + 32px);
        height: 132px;
        margin: 0 -16px 12px;
        background-image: url("../images/login-hero-night-mobile.png");
        background-size: cover;
        background-position: center 38%;
        background-repeat: no-repeat;
    }

    .login-hero-copy {
        display: none;
    }

    .login-panel {
        width: min(100%, 358px);
        gap: 24px;
    }

    .login-card {
        min-height: 0;
        padding: 28px 22px 22px;
        border-radius: 16px;
    }

    .login-card::before {
        left: 16px;
        width: 80px;
        height: 4px;
    }

    .login-brand {
        width: 224px;
        height: 72px;
        margin-bottom: 18px;
    }

    .login-card h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .login-card .login-subtitle {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 24px;
        color: #2f3a52 !important;
    }

    .login-field + .login-field {
        margin-top: 18px;
    }

    .login-card .form-label {
        font-size: 16px;
        line-height: 24px;
    }

    .login-card .form-control {
        height: 48px;
        min-height: 48px;
        font-size: 16px;
        line-height: 24px;
        border-radius: 8px !important;
    }

    .login-submit {
        height: 48px;
        margin-top: 16px;
        font-size: 16px;
        line-height: 24px;
        border-radius: 8px;
    }

    .login-forgot {
        margin-top: 16px;
        font-size: 16px;
        line-height: 24px;
        text-decoration: underline;
    }

    .login-learn {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 900px) and (max-height: 700px) {
    .login-shell::before {
        height: 108px;
    }
}

body.login-marketing-page .modal-backdrop {
    background: #040b18;
}

body.login-marketing-page .modal-backdrop.show {
    opacity: 0.72;
}

.login-about-dialog {
    max-width: min(520px, calc(100vw - 1.5rem));
}

#loginAboutModal .modal-header.login-about-header {
    align-items: flex-start;
    padding: 28px 28px 0;
    border-bottom: 0 !important;
}

.login-about-heading {
    padding-right: 12px;
}

.login-about-kicker {
    margin: 0 0 8px;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a9ccff !important;
}

#loginAboutModal .modal-title {
    font-family: Georgia, "Times New Roman", serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: 32px;
    line-height: 40px;
    color: #fff !important;
}

#loginAboutModal .modal-body.login-about-body {
    padding: 16px 28px 8px;
}

.login-about-rule {
    width: 56px;
    height: 6px;
    margin: 0 0 18px;
    background: #f59a0a;
}

#loginAboutModal .login-about-lead {
    margin: 0 0 22px;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #eef4ff !important;
}

.login-about-points {
    margin: 0;
    padding: 0;
    list-style: none;
}

.login-about-points li {
    position: relative;
    padding: 0 0 18px 18px;
}

.login-about-points li:last-child {
    padding-bottom: 4px;
}

.login-about-points li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59a0a;
}

.login-about-points strong {
    display: block;
    margin-bottom: 4px;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #fff;
}

#loginAboutModal .login-about-points span {
    display: block;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
    color: #cfd8ea !important;
}

#loginAboutModal .modal-footer.login-about-footer {
    justify-content: stretch;
    padding: 8px 28px 28px;
    border-top: 0 !important;
}

.login-about-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: #173b79;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.login-about-close:hover,
.login-about-close:focus {
    background: #214c94;
    color: #fff;
}

@media (max-width: 900px) {
    #loginAboutModal .modal-title {
        font-size: 26px;
        line-height: 32px;
    }

    #loginAboutModal .modal-header.login-about-header,
    #loginAboutModal .modal-body.login-about-body,
    #loginAboutModal .modal-footer.login-about-footer {
        padding-left: 22px;
        padding-right: 22px;
    }
}
