:root {
    --brand-primary: #7571f9;
    --brand-primary-dark: #5f58ec;
    --brand-soft: #efeeff;
}

body.auth-page {
    min-height: 100vh;
    padding: 0;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top left, rgba(117, 113, 249, 0.17), transparent 26%),
        radial-gradient(circle at bottom right, rgba(95, 88, 236, 0.14), transparent 20%),
        linear-gradient(145deg, #f7fbff 0%, #edf3fb 55%, #f6f9fd 100%);
}

.auth-shell {
    width: 100%;
}

.auth-layout {
    width: min(1220px, calc(100vw - 1.4rem));
    min-height: min(760px, calc(100vh - 1.4rem));
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(22rem, 32rem);
    gap: 0;
    overflow: hidden;
    border-radius: 1.65rem;
    border: 1px solid #d7e2f0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 26px 64px rgba(15, 23, 42, 0.12);
    margin: auto;
}

.auth-showcase {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(160deg, #3c3891 0%, #5a54d8 56%, #7571f9 100%);
}

.auth-showcase-top {
    display: grid;
    gap: 1rem;
}

.auth-brand-badge {
    width: fit-content;
    padding: 0.6rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.auth-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.82;
}

.auth-copy h1 {
    margin: 0;
    font-size: clamp(1.95rem, 1.6rem + 1.15vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.auth-subcopy {
    max-width: 36rem;
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.7;
}

.auth-role-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.auth-role-strip span {
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    font-weight: 800;
}

.auth-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.auth-feature-card,
.auth-news-panel,
.auth-helper-grid article {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-feature-card {
    padding: 0.95rem;
    border-radius: 1.1rem;
}

.auth-feature-card strong,
.auth-feature-card span {
    display: block;
}

.auth-feature-card strong {
    font-size: 0.88rem;
}

.auth-feature-card span {
    margin-top: 0.38rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.78rem;
    line-height: 1.6;
}

.auth-news-panel {
    margin-top: auto;
    padding: 1rem;
    border-radius: 1.2rem;
}

.auth-news-head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.auth-news-head span {
    display: block;
    margin-top: 0.16rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
}

.auth-news-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.9rem;
}

.auth-news-list article {
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-news-list article:first-child {
    padding-top: 0;
    border-top: 0;
}

.auth-news-list strong,
.auth-news-list span {
    display: block;
}

.auth-news-list strong {
    font-size: 0.84rem;
}

.auth-news-list span {
    margin-top: 0.22rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    line-height: 1.58;
}

.auth-panel {
    padding: 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.auth-panel-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.auth-logo {
    width: 4rem;
    height: 4rem;
    border-radius: 1.15rem;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(29, 78, 216, 0.14);
}

.auth-panel-kicker {
    margin: 0 0 0.25rem;
    color: var(--brand-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-panel-header h2 {
    margin: 0;
    color: #182235;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.auth-panel-subcopy {
    margin: 0.24rem 0 0;
    color: #66758f;
    font-size: 0.8rem;
}

.auth-alert {
    padding: 0.8rem 0.9rem;
    border-radius: 0.95rem;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.82rem;
    font-weight: 700;
}

.auth-alert-success {
    background: #ecfdf5;
    color: #166534;
}

.auth-alert p {
    margin: 0;
}

.auth-alert p + p {
    margin-top: 0.28rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.form-label {
    display: block;
    margin-bottom: 0.42rem;
    color: #182235;
    font-size: 0.78rem;
    font-weight: 800;
}

.input-shell {
    position: relative;
}

.input-shell i {
    position: absolute;
    top: 50%;
    left: 0.95rem;
    transform: translateY(-50%);
    color: #7a879c;
}

.auth-form input {
    width: 100%;
    min-height: 3rem;
    padding: 0.78rem 0.9rem 0.78rem 2.75rem;
    border: 1px solid #d9e3f0;
    border-radius: 0.95rem;
    background: #f8fbff;
    color: #182235;
    font-size: 0.86rem;
    font-weight: 600;
}

.auth-form input:focus {
    outline: none;
    border-color: rgba(117, 113, 249, 0.4);
    box-shadow: 0 0 0 0.18rem rgba(117, 113, 249, 0.14);
    background: #fff;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.checkbox-group {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #66758f;
    font-size: 0.8rem;
    font-weight: 700;
}

.checkbox-group input {
    width: 1rem;
    min-height: 1rem;
    padding: 0;
    margin: 0;
    accent-color: var(--brand-primary);
}

.forgot-password {
    color: var(--brand-primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.btn-login {
    width: 100%;
    min-height: 3.05rem;
    border: 0;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(117, 113, 249, 0.26);
}

.btn-login:hover {
    filter: brightness(1.03);
}

.auth-helper-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.auth-helper-grid article {
    padding: 0.9rem;
    border-radius: 1rem;
    color: #182235;
    background: #f7fbff;
    border-color: #d9e3f0;
}

.auth-helper-grid strong,
.auth-helper-grid span {
    display: block;
}

.auth-helper-grid strong {
    font-size: 0.82rem;
}

.auth-helper-grid span {
    margin-top: 0.24rem;
    color: #66758f;
    font-size: 0.76rem;
    line-height: 1.55;
}

.error {
    margin-top: 0.32rem;
    color: #b91c1c;
    font-size: 0.76rem;
}

@media (max-width: 991.98px) {
    .auth-layout {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .auth-showcase {
        padding: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .auth-layout {
        width: min(100vw - 0.8rem, 34rem);
        border-radius: 1.3rem;
    }

    .auth-showcase,
    .auth-panel {
        padding: 1.1rem;
    }

    .auth-feature-grid,
    .auth-helper-grid {
        grid-template-columns: 1fr;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
    }
}
.auth-layout-clean {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 31rem);
}

.auth-showcase-clean {
    justify-content: center;
}

.auth-feature-grid-clean {
    grid-template-columns: 1fr;
}

.auth-panel-header-clean {
    align-items: center;
}

.auth-layout-clean .auth-panel {
    padding: 1.8rem 1.6rem;
}

.auth-layout-clean .login-options {
    justify-content: flex-start;
}

@media (max-width: 991.98px) {
    .auth-layout-clean {
        grid-template-columns: 1fr;
    }
}
/* --- 2026-04-01 RedStar inspired auth refresh --- */
body.auth-page.auth-redstar {
    font-family: "Nunito Sans", sans-serif;
    background: linear-gradient(145deg, #eef3f8 0%, #e5edf5 50%, #edf2f7 100%) !important;
}

body.auth-page.auth-redstar h1,
body.auth-page.auth-redstar h2,
body.auth-page.auth-redstar h3,
body.auth-page.auth-redstar h4,
body.auth-page.auth-redstar .btn-login {
    font-family: "Poppins", sans-serif;
}

body.auth-page.auth-redstar .auth-layout {
    border-radius: 1.2rem;
    border: 1px solid #dbe4ee;
    background: #ffffff;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

body.auth-page.auth-redstar .auth-showcase {
    position: relative;
    background: linear-gradient(180deg, #17395f 0%, #14324f 54%, #0f2946 100%) !important;
}

body.auth-page.auth-redstar .auth-showcase::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -100px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(53, 191, 208, 0.18);
}

body.auth-page.auth-redstar .auth-brand-badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
}

body.auth-page.auth-redstar .auth-copy h1 {
    line-height: 1.08;
}

body.auth-page.auth-redstar .auth-feature-card {
    border-radius: 0.95rem;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

body.auth-page.auth-redstar .auth-panel {
    padding: 2rem 1.8rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

body.auth-page.auth-redstar .auth-panel-header {
    padding-bottom: 1rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid #e7edf4;
    align-items: flex-start;
}

body.auth-page.auth-redstar .auth-logo-wordmark {
    width: 10.75rem;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    box-shadow: none;
}

body.auth-page.auth-redstar .auth-panel-kicker {
    color: #2f7edb;
}

body.auth-page.auth-redstar .input-shell {
    position: relative;
    border: 1px solid #dbe4ee;
    border-radius: 0.9rem;
    background: #f8fafc;
}

body.auth-page.auth-redstar .input-shell i {
    color: #6d8096;
}

body.auth-page.auth-redstar .auth-form input {
    min-height: 3.05rem;
    border: 0;
    background: transparent;
}

body.auth-page.auth-redstar .auth-form input:focus {
    background: transparent;
    box-shadow: none;
}

body.auth-page.auth-redstar .input-shell:focus-within {
    border-color: rgba(47, 126, 219, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(47, 126, 219, 0.12);
    background: #ffffff;
}

body.auth-page.auth-redstar .btn-login {
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #2f7edb, #1e63b8);
    box-shadow: 0 14px 26px rgba(47, 126, 219, 0.22);
}

body.auth-page.auth-redstar .btn-login:hover {
    filter: none;
    background: linear-gradient(135deg, #1e63b8, #194f94);
}

body.auth-page.auth-redstar .auth-alert {
    border-radius: 0.9rem;
}
body.auth-page.auth-redstar .auth-logo-wordmark {
    display: inline-flex;
    align-items: center;
}

body.auth-page.auth-redstar .auth-logo-wordmark svg {
    width: 10.75rem;
    height: auto;
    display: block;
}

/* --- 2026-04-02 dashboard-style auth showcase refresh --- */
body.auth-page.auth-oreo-shell {
    background:
        radial-gradient(circle at top left, rgba(34, 199, 210, 0.1), transparent 22%),
        radial-gradient(circle at right bottom, rgba(37, 99, 235, 0.08), transparent 24%),
        linear-gradient(145deg, #eef3f9 0%, #e7edf5 45%, #edf2f8 100%) !important;
}

body.auth-page.auth-oreo-shell .auth-layout-dashboard {
    width: min(1280px, calc(100vw - 1.6rem));
    min-height: min(770px, calc(100vh - 1.6rem));
    grid-template-columns: minmax(0, 1.06fr) minmax(22rem, 31rem);
    border: 1px solid #dbe5f0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

body.auth-page.auth-oreo-shell .auth-showcase-dashboard {
    position: relative;
    overflow: hidden;
    justify-content: space-between;
    padding: 1.65rem;
    gap: 1.2rem;
    background:
        radial-gradient(circle at 85% 15%, rgba(112, 241, 244, 0.14), transparent 22%),
        linear-gradient(160deg, #162b4a 0%, #1d4471 55%, #148d8d 100%);
}

body.auth-page.auth-oreo-shell .auth-showcase-dashboard::before {
    content: "";
    position: absolute;
    inset: auto -110px -120px auto;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

body.auth-page.auth-oreo-shell .auth-showcase-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

body.auth-page.auth-oreo-shell .auth-brand-badge-dashboard {
    min-height: 42px;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

body.auth-page.auth-oreo-shell .auth-showcase-status {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

body.auth-page.auth-oreo-shell .auth-showcase-status span {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    min-height: 38px;
    padding: 0 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
}

body.auth-page.auth-oreo-shell .auth-slider {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 auto;
}

body.auth-page.auth-oreo-shell .auth-slider-stage {
    position: relative;
    min-height: 430px;
}

body.auth-page.auth-oreo-shell .auth-slide {
    display: none;
    gap: 1.05rem;
}

body.auth-page.auth-oreo-shell .auth-slide.is-active {
    display: grid;
}

body.auth-page.auth-oreo-shell .auth-copy-dashboard {
    display: grid;
    gap: 0.78rem;
}

body.auth-page.auth-oreo-shell .auth-copy-dashboard .auth-kicker {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

body.auth-page.auth-oreo-shell .auth-copy-dashboard h1 {

    font-size: clamp(2.25rem, 1.9rem + 1vw, 3.6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

body.auth-page.auth-oreo-shell .auth-subcopy-dashboard {
    max-width: 41rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.96rem;
    line-height: 1.72;
}

body.auth-page.auth-oreo-shell .auth-slide-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

body.auth-page.auth-oreo-shell .auth-slide-metric,
body.auth-page.auth-oreo-shell .auth-slide-highlight,
body.auth-page.auth-oreo-shell .auth-insight-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.07) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.auth-page.auth-oreo-shell .auth-slide-metric {
    min-height: 112px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.auth-page.auth-oreo-shell .auth-slide-metric strong {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

body.auth-page.auth-oreo-shell .auth-slide-metric span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.5;
}

body.auth-page.auth-oreo-shell .auth-slide-highlights,
body.auth-page.auth-oreo-shell .auth-insight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

body.auth-page.auth-oreo-shell .auth-slide-highlight,
body.auth-page.auth-oreo-shell .auth-insight-card {
    min-height: 124px;
    padding: 1rem;
}

body.auth-page.auth-oreo-shell .auth-slide-highlight strong,
body.auth-page.auth-oreo-shell .auth-insight-card strong {
    display: block;
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 800;
}

body.auth-page.auth-oreo-shell .auth-slide-highlight span,
body.auth-page.auth-oreo-shell .auth-insight-card span {
    display: block;
    margin-top: 0.42rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.8rem;
    line-height: 1.65;
}

body.auth-page.auth-oreo-shell .auth-slider-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

body.auth-page.auth-oreo-shell .auth-slider-dots,
body.auth-page.auth-oreo-shell .auth-slider-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
}

body.auth-page.auth-oreo-shell .auth-slider-dot,
body.auth-page.auth-oreo-shell .auth-slider-arrow {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.auth-page.auth-oreo-shell .auth-slider-dot {
    width: 12px;
    height: 12px;
    padding: 0;
}

body.auth-page.auth-oreo-shell .auth-slider-dot.is-active {
    width: 34px;
    background: #ffffff;
    border-color: #ffffff;
}

body.auth-page.auth-oreo-shell .auth-slider-arrow {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.auth-page.auth-oreo-shell .auth-slider-arrow:hover,
body.auth-page.auth-oreo-shell .auth-slider-dot:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard {
    position: relative;
    justify-content: flex-start;
    padding: 1.25rem 1.85rem 1.85rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

body.auth-page.auth-oreo-shell .auth-panel-header-dashboard {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    justify-items: start;
    gap: 0.42rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #e8eef5;
}

body.auth-page.auth-oreo-shell .auth-panel-header-dashboard > div {
    display: grid;
    gap: 0.04rem;
    width: 100%;
}

body.auth-page.auth-oreo-shell .auth-panel-header-dashboard h2 {
    margin: 0;
    font-size: 1.52rem;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

body.auth-page.auth-oreo-shell .auth-logo-wordmark {
    display: block;
    width: min(100%, 10.5rem);
    height: auto;
    border-radius: 0;
    box-shadow: none;
    line-height: 0;
}

body.auth-page.auth-oreo-shell .auth-logo-wordmark svg {
    display: block;
    width: 100%;
    height: auto;
}

body.auth-page.auth-oreo-shell .auth-panel-kicker {
    margin: 0;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
}

body.auth-page.auth-oreo-shell .auth-panel-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

body.auth-page.auth-oreo-shell .auth-panel-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 34px;
    padding: 0 0.85rem;
    border: 1px solid #dde8f3;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f8fd 100%);
    color: #53667d;
    font-size: 0.78rem;
    font-weight: 700;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .auth-form {
    gap: 1rem;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .form-label {
    font-size: 0.82rem;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .input-shell {
    border: 1px solid #d8e3ef;
    background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .input-shell:focus-within {
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.1);
    background: #ffffff;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .auth-form input {
    min-height: 3.2rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.92rem;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .auth-form input:focus {
    outline: none;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .btn-login {
    min-height: 3.25rem;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    box-shadow: 0 18px 32px rgba(29, 78, 216, 0.16);
}

body.auth-page.auth-oreo-shell .auth-panel-footnote {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #72829a;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.55;
}

body.auth-page.auth-oreo-shell .auth-panel-footnote i {
    color: #0f766e;
}

@media (max-width: 1199.98px) {
    body.auth-page.auth-oreo-shell .auth-layout-dashboard {
        grid-template-columns: minmax(0, 1fr) minmax(21rem, 28rem);
    }

    body.auth-page.auth-oreo-shell .auth-slide-metrics,
    body.auth-page.auth-oreo-shell .auth-slide-highlights,
    body.auth-page.auth-oreo-shell .auth-insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    body.auth-page.auth-oreo-shell .auth-layout-dashboard {
        width: min(100vw - 1rem, 56rem);
        min-height: auto;
        grid-template-columns: 1fr;
    }

    body.auth-page.auth-oreo-shell .auth-showcase-dashboard,
    body.auth-page.auth-oreo-shell .auth-panel-dashboard {
        padding: 1.3rem;
    }

    body.auth-page.auth-oreo-shell .auth-panel-dashboard {
        padding-top: 1rem;
    }

    body.auth-page.auth-oreo-shell .auth-slider-stage {
        min-height: auto;
    }

    body.auth-page.auth-oreo-shell .auth-copy-dashboard h1 {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    body.auth-page.auth-oreo-shell .auth-layout-dashboard {
        width: min(100vw - 0.9rem, 36rem);
        border-radius: 14px;
    }

    body.auth-page.auth-oreo-shell .auth-showcase-topline,
    body.auth-page.auth-oreo-shell .auth-slider-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    body.auth-page.auth-oreo-shell .auth-showcase-status,
    body.auth-page.auth-oreo-shell .auth-panel-strip {
        width: 100%;
    }

    body.auth-page.auth-oreo-shell .auth-showcase-status span,
    body.auth-page.auth-oreo-shell .auth-panel-strip span {
        width: 100%;
        justify-content: flex-start;
    }

    body.auth-page.auth-oreo-shell .auth-slide-metrics,
    body.auth-page.auth-oreo-shell .auth-slide-highlights,
    body.auth-page.auth-oreo-shell .auth-insight-grid {
        grid-template-columns: 1fr;
    }

    body.auth-page.auth-oreo-shell .auth-slider-controls {
        width: 100%;
        justify-content: flex-end;
    }

    body.auth-page.auth-oreo-shell .auth-panel-dashboard {
        padding-top: 0.9rem;
    }

    body.auth-page.auth-oreo-shell .auth-panel-header-dashboard h2 {
        font-size: 1.4rem;
    }

    body.auth-page.auth-oreo-shell .auth-logo-wordmark {
        width: min(100%, 9.6rem);
    }
}

/* 2026-04-03 login view alignment to MatDash reference */
body.auth-page.auth-matdash-shell {
    place-items: stretch;
    padding: 1.2rem;
    background: #f5f7fb;
}

body.auth-page.auth-matdash-shell .auth-layout {
    width: min(1280px, 100%);
    min-height: calc(100vh - 2.4rem);
    border-radius: 22px;
    border-color: #e8edf5;
    box-shadow: none;
    background: #f0f4fa;
    padding: 1.2rem;
    gap: 1.1rem;
}

body.auth-page.auth-matdash-shell .auth-showcase {
    border-radius: 18px;
    background: linear-gradient(165deg, #49546d 0%, #6a5af9 58%, #5d87ff 100%);
    padding: 1.5rem;
}

body.auth-page.auth-matdash-shell .auth-panel {
    border-radius: 18px;
    border: 1px solid #e6ebf1;
    background: #ffffff;
    box-shadow: none;
}

body.auth-page.auth-matdash-shell .btn-login {
    background: linear-gradient(90deg, #6a5af9, #5d87ff);
    border-color: transparent;
}

body.auth-page.auth-matdash-shell .btn-login:hover {
    filter: brightness(0.98);
}
