/*
 * login.septante.ch: small changes to Authelia's pages, added by nginx.conf (sub_filter).
 * Display only. (nginx also adds portal/spa-exit.js, our ~15-line script: leaving these pages
 * for / loads our login page.)
 * Use ids (#...) or attributes: Authelia's class names are generated and may change
 * between versions. After an Authelia upgrade, check the login page still looks right.
 * A change here only needs a browser refresh (no restart).
 */

/* Authelia's pages still in use (2FA registration, settings, consent): our login page
   (portal/) replaced its login screen. Less space: no head icon, no "Powered by Authelia" */
#UserSvg { display: none; }
div:has(> a[href="https://www.authelia.com"]) { display: none; }

/* no full-screen height: the form starts at the top instead of the middle of the screen.
   Any Tailwind minimum height based on the screen (min-h-screen, min-h-[90vh], ...);
   class names, so check after an Authelia upgrade */
.min-h-screen, [class*="min-h-["] { min-height: 0 !important; }
