/* 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. */

body {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.75rem;
    width: min(24rem, 92vw);
}

/* The heading inherits Nunito from app.css; only the size is local to this page. */
.card h1 {
    font-size: 1.25rem;
}

.block {
    width: 100%;
    text-align: center;
}

.sep {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.25rem 0;
    color: var(--muted);
}

.sep::before,
.sep::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--border);
}

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: .9rem;
    margin-top: 1.25rem;
    font-size: 13px;
}

.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: 600; }
