/* =========================================================
   MMX LOGIN — SHARED COMPACT LOGIN PRESENTATION
   Business + Admin + Research
========================================================= */

/* ---------- Shared title typography ---------- */

.mmx-login-heading,
.fi-simple-header-heading {
    font-size: 22px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

.mmx-login-subheading,
.fi-simple-header-subheading {
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* ---------- Filament login ---------- */

/* Remove panel brand text/logo from the login card.
   The module title is now the actual login heading. */
.fi-simple-header .fi-logo {
    display: none !important;
}

.fi-simple-layout {
    min-height: 100vh !important;
}

.fi-simple-main-ctn {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.fi-simple-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.fi-simple-page {
    gap: 0.75rem !important;
}

.fi-simple-header {
    margin-bottom: 0.75rem !important;
}

.fi-simple-header-heading {
    margin-bottom: 0.25rem !important;
}

.fi-form {
    gap: 0.75rem !important;
}

.fi-form-actions {
    margin-top: 0.5rem !important;
}

/* Portal switcher */
.fi-simple-page .mt-6 {
    margin-top: 1rem !important;
}

.fi-simple-page .pt-5 {
    padding-top: 0.75rem !important;
}

@media (max-height: 800px) {
    .fi-simple-main-ctn {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .fi-simple-page {
        gap: 0.5rem !important;
    }

    .fi-simple-header {
        margin-bottom: 0.5rem !important;
    }
}

/* ---------- Remove Filament panel brand from login card ----------
   The module title below is the login identity.
--------------------------------------------------------------- */

.fi-simple-header > .fi-logo,
.fi-simple-header > a.fi-logo,
.fi-simple-header > div:has(.fi-logo) {
    display: none !important;
}
