body.layout-base {
    background:
        radial-gradient(circle at top left, rgba(43, 174, 157, 0.18), transparent 34rem),
        linear-gradient(135deg, #eef4f8 0%, #f7fafc 48%, #e8f1f4 100%);
}

.mxp-auth-page {
    min-height: calc(100vh - 7rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.mxp-auth-shell {
    width: min(100%, 980px);
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    overflow: hidden;
    border: 1px solid rgba(15, 36, 55, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 36, 55, 0.14);
}

.mxp-auth-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.25rem;
    color: #ffffff;
    background:
        linear-gradient(rgba(15, 36, 55, 0.86), rgba(15, 36, 55, 0.88)),
        url("/images/Dashboard-Plan.png") center / cover no-repeat;
}

.mxp-auth-wordmark {
    position: relative;
    width: fit-content;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.mxp-auth-wordmark::after {
    content: "";
    display: block;
    width: 72%;
    height: 4px;
    margin-top: 0.85rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #2bae9d 0%, rgba(143, 228, 217, 0.18) 100%);
}

.mxp-auth-wordmark-x {
    position: relative;
    display: inline-block;
    margin: 0 0.04em;
    color: #8fe4d9;
}

.mxp-auth-wordmark-x::before {
    content: "";
    position: absolute;
    inset: 0.08em -0.1em;
    z-index: -1;
    border: 1px solid rgba(143, 228, 217, 0.55);
    transform: skewX(-12deg);
    box-shadow: 0 0 26px rgba(43, 174, 157, 0.32);
}

.mxp-auth-copy {
    max-width: 420px;
}

.mxp-auth-kicker {
    margin: 0 0 0.65rem;
    color: #2bae9d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mxp-auth-copy .mxp-auth-kicker {
    color: #9ee4db;
}

.mxp-auth-copy h1 {
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0;
}

.mxp-auth-copy p:last-child {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.65;
}

.mxp-auth-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    background: #ffffff;
}

.mxp-auth-card-logo {
    display: none;
    width: 112px;
    height: 112px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 36, 55, 0.12);
}

.mxp-auth-heading {
    margin-bottom: 1.5rem;
}

.mxp-auth-heading h2 {
    margin: 0;
    color: #132a3e;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0;
}

.mxp-auth-alert {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin: -0.35rem 0 1.25rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid #f3c9c9;
    border-radius: 7px;
    color: #8a2d2d;
    background: #fff6f6;
    font-size: 0.9rem;
    line-height: 1.45;
}

.mxp-auth-alert i {
    margin-top: 0.08rem;
    color: #c24141;
    font-size: 1rem;
    line-height: 1;
}

.mxp-auth-form .form-label {
    margin-bottom: 0.4rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 650;
}

.mxp-auth-form .form-control {
    min-height: 46px;
    border-color: #d7dee8;
    border-radius: 7px;
    color: #172033;
    background: #fbfdff;
}

.mxp-auth-form .form-control:focus {
    border-color: #2bae9d;
    box-shadow: 0 0 0 0.2rem rgba(43, 174, 157, 0.16);
}

.mxp-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.25rem 0 1.35rem;
    color: #536173;
    font-size: 0.9rem;
}

.mxp-auth-link {
    color: #126e80;
    font-weight: 650;
    text-decoration: none;
}

.mxp-auth-link:hover {
    color: #0f5261;
    text-decoration: underline;
}

.mxp-auth-submit {
    min-height: 48px;
    border: 0;
    border-radius: 7px;
    color: #ffffff;
    font-weight: 700;
    background: #126e80;
    box-shadow: 0 12px 24px rgba(18, 110, 128, 0.2);
}

.mxp-auth-submit:hover,
.mxp-auth-submit:focus {
    color: #ffffff;
    background: #0f5261;
}

.mxp-auth-register {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    color: #667085;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 860px) {
    .mxp-auth-page {
        min-height: auto;
        padding: 1.25rem 0;
    }

    .mxp-auth-shell {
        min-height: auto;
        grid-template-columns: 1fr;
        width: min(100%, 460px);
    }

    .mxp-auth-aside {
        display: none;
    }

    .mxp-auth-card {
        padding: 2rem 1.5rem;
    }

    .mxp-auth-card-logo {
        display: flex;
    }

    .mxp-auth-heading {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .mxp-auth-card {
        padding: 1.5rem 1rem;
    }

    .mxp-auth-options,
    .mxp-auth-register {
        align-items: flex-start;
        flex-direction: column;
    }
}
