/* Sign-in page only. Kept out of the endpoint's HTML so the C# stays readable, and separate from
   app.css because nothing else needs a centred card. Fluent 2 like the rest (#14048): the page is the
   grey app chrome from app.css, the form a filled Card with shadow8. */

body {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.card {
    border: 1px solid light-dark(transparent, var(--colorNeutralStroke2));
    border-radius: var(--borderRadiusXLarge);
    padding: var(--spacingVerticalXXXL);
    width: min(24rem, 92vw);
    background: var(--colorNeutralBackground1);
    box-shadow: var(--shadow8);
}

/* Fluent subtitle1. */
.card h1 {
    font-size: var(--fontSizeBase500);
    line-height: var(--lineHeightBase500);
}

.block {
    width: 100%;
    text-align: center;
}

.sep {
    display: flex;
    align-items: center;
    gap: var(--spacingHorizontalM);
    margin: var(--spacingVerticalXL) 0;
    color: var(--muted);
}

.sep::before,
.sep::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--colorNeutralStroke2);
}

form.stack {
    max-width: none;
}

/* The two languages, under the form. Plain links rather than the header's <details> menu: this page
   loads no script but theme.js, and a menu is not worth one for two links. Named in their own
   language, like the picker in the app -- see AdminLanguage.Label. */
.lang-links {
    display: flex;
    justify-content: center;
    gap: var(--spacingHorizontalL);
    margin-top: var(--spacingVerticalXL);
}

.lang-links a { color: var(--muted); text-decoration: none; }
.lang-links a:hover { color: var(--fg); text-decoration: underline; }
.lang-links a.active { color: var(--fg); font-weight: var(--fontWeightSemibold); }
