/* MP Travel — Unified Account Portal V36
 * Minimal, premium login surface for the shared ALCANCE account gateway.
 * Visual-only refinement: no authentication or role logic changes.
 */

.mp-auth-shell {
    --navy: #061d43;
    --navy-2: #0a2b59;
    --orange: #ff6b00;
    --ink: #071a3d;
    --muted: #667085;
    --line: #dfe5ee;
    --soft: #f4f7fb;
    padding: 14px;
    background: var(--soft);
}

.mp-auth-card {
    width: min(1320px, 100%);
    min-height: calc(100vh - 28px);
    grid-template-columns: minmax(360px, 42%) minmax(0, 58%);
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    box-shadow: none;
}

.mp-auth-hero {
    min-height: 680px;
    padding: 42px 44px 26px;
    background-position: center center;
}

.mp-auth-hero.has-image {
    background-image:
        linear-gradient(180deg, rgba(3, 24, 56, .70) 0%, rgba(3, 24, 56, .58) 48%, rgba(3, 24, 56, .90) 100%),
        var(--mp-auth-hero);
}

.mp-auth-hero::after {
    display: none;
}

.mp-auth-hero-overlay {
    background: linear-gradient(135deg, rgba(4, 23, 52, .02), rgba(4, 23, 52, .18));
}

.mp-auth-logo {
    max-width: 230px;
}

.mp-auth-logo img {
    max-width: 210px;
    max-height: 90px;
}

.mp-auth-brand-copy {
    max-width: 390px;
    margin-top: 30px;
}

.mp-auth-brand-copy h2 {
    font-size: 23px;
    line-height: 1.34;
    font-weight: 700;
    letter-spacing: -.012em;
}

.mp-auth-brand-copy > span {
    width: 42px;
    height: 2px;
    margin: 15px 0 16px;
}

.mp-auth-brand-copy p {
    max-width: 360px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .86);
}

.mp-auth-benefits {
    margin-top: 26px;
}

.mp-auth-benefits > div {
    padding: 0 13px;
}

.mp-auth-benefits svg {
    width: 23px;
    height: 23px;
    margin-bottom: 7px;
}

.mp-auth-benefits strong {
    font-size: 12px;
}

.mp-auth-benefits small {
    margin-top: 3px;
    font-size: 10.5px;
}

.mp-auth-main {
    align-items: center;
    padding: 54px 58px 34px;
}

.mp-auth-language {
    top: 20px;
    right: 24px;
    height: 34px;
    gap: 7px;
    padding: 0 11px;
    border-radius: 5px;
    font-size: 12px;
}

.mp-auth-language svg {
    width: 15px;
    height: 15px;
}

.mp-auth-login-card {
    width: min(520px, 100%);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.mp-auth-title {
    gap: 0;
    margin-bottom: 22px;
}

.mp-auth-title > span {
    display: none;
}

.mp-auth-title h1 {
    margin-bottom: 5px;
    font-size: 26px;
    line-height: 1.12;
    font-weight: 750;
    letter-spacing: -.025em;
}

.mp-auth-title p {
    max-width: 475px;
    font-size: 13px;
    line-height: 1.48;
    color: #667085;
}

.mp-auth-alert {
    margin-bottom: 14px;
    padding: 9px 11px;
    font-size: 12px;
}

.mp-auth-form {
    gap: 13px;
}

.mp-auth-field {
    gap: 6px;
}

.mp-auth-field > span {
    font-size: 12px;
    font-weight: 700;
}

.mp-auth-field > div {
    height: 40px;
    gap: 9px;
    padding: 0 11px;
    border-color: #d2d9e4;
    border-radius: 5px;
}

.mp-auth-field > div:focus-within {
    border-color: #1d5a9c;
    outline: 2px solid rgba(29, 90, 156, .06);
}

.mp-auth-field svg {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
}

.mp-auth-field input {
    font-size: 13px;
}

.mp-auth-password-toggle {
    width: 28px;
    height: 28px;
}

.mp-auth-row {
    margin-top: 0;
    gap: 12px;
}

.mp-auth-row > a,
.mp-auth-remember {
    font-size: 11.5px;
}

.mp-auth-remember input {
    width: 14px;
    height: 14px;
}

.mp-auth-submit {
    height: 40px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: none;
}

.mp-auth-submit svg {
    width: 15px;
    height: 15px;
}

.mp-auth-divider {
    margin: 16px 0;
}

.mp-auth-divider span {
    font-size: 11px;
}

.mp-auth-signup {
    min-height: 40px;
    padding: 7px 12px;
    gap: 9px;
    border-radius: 5px;
    box-shadow: none;
}

.mp-auth-signup > svg {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
}

.mp-auth-signup strong {
    font-size: 11.5px;
}

.mp-auth-signup small {
    display: none;
}

.mp-auth-support-box {
    min-height: 52px;
    margin-top: 16px;
    padding: 9px 12px;
    gap: 10px;
    border-radius: 5px;
    background: #f7f9fc;
    box-shadow: none;
}

.mp-auth-support-box svg {
    width: 23px;
    height: 23px;
}

.mp-auth-support-box strong {
    font-size: 12px;
}

.mp-auth-support-box small {
    font-size: 10.5px;
}

.mp-auth-support-box > a {
    font-size: 11.5px;
}

/* The support details already live inside the login surface. Removing the
 * secondary footer keeps this page focused as the primary account gateway. */
.mp-auth-footer {
    display: none;
}

.mp-auth-logged > div {
    border-radius: 10px;
    box-shadow: none;
}

.mp-auth-logged a {
    min-height: 40px;
    border-radius: 5px;
}

@media (max-width: 1180px) {
    .mp-auth-card {
        grid-template-columns: 40% 60%;
    }

    .mp-auth-hero {
        padding: 36px 30px 24px;
    }

    .mp-auth-main {
        padding: 52px 34px 30px;
    }
}

@media (max-width: 900px) {
    .mp-auth-shell {
        padding: 0;
        background: #fff;
    }

    .mp-auth-card {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
    }

    .mp-auth-hero {
        min-height: 300px;
        padding: 28px 22px;
    }

    .mp-auth-logo img {
        max-width: 180px;
        max-height: 78px;
    }

    .mp-auth-brand-copy {
        margin-top: 20px;
    }

    .mp-auth-main {
        padding: 64px 20px 28px;
    }

    .mp-auth-login-card {
        width: min(540px, 100%);
    }
}

@media (max-width: 560px) {
    .mp-auth-hero {
        min-height: 250px;
        padding: 22px 18px;
    }

    .mp-auth-brand-copy h2 {
        font-size: 19px;
    }

    .mp-auth-main {
        padding: 60px 18px 24px;
    }

    .mp-auth-title {
        margin-bottom: 18px;
    }

    .mp-auth-title h1 {
        font-size: 23px;
    }

    .mp-auth-field > div,
    .mp-auth-submit,
    .mp-auth-signup {
        height: 40px;
        min-height: 40px;
    }

    .mp-auth-support-box {
        grid-template-columns: auto 1fr;
    }

    .mp-auth-support-box > a {
        grid-column: 2;
    }
}
