/* Sign-in, sign-up and profile pages. The identity is the same in both themes: the logo, the red action
   button and the teal focus ring never change, only the neutral background and text do. */
.auth { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card .back { margin: 0 0 20px; font-size: .9rem; }
.auth-card a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.auth-card a:hover { text-decoration-thickness: 2px; }

.brand-header { margin: 0 0 24px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: block; flex: none; }
.brand-name { font-size: 2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1; color: var(--fg); }

.auth-card h1 { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.2; }
.auth-card label { display: block; margin: 16px 0 6px; font-weight: 700; }
.auth-card input, .auth-card select { width: 100%; min-height: 48px; padding: 0 14px; font: inherit; color: var(--fg); background: var(--surface); border: 2px solid var(--field-line); border-radius: 10px; }
.auth-card input:focus-visible, .auth-card select:focus-visible { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgb(14 124 134 / .35); }
.auth-card .hint { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.auth-card .static { margin: 0; min-height: 48px; display: flex; align-items: center; color: var(--muted); }

.auth-card .primary, .auth-card .primary-link { display: block; width: 100%; min-height: 52px; margin-top: 24px; border: 0; border-radius: 26px; background: var(--danger); color: #fff; font-weight: 700; font-size: 1.05rem; text-align: center; text-decoration: none; line-height: 52px; }
.auth-card .primary { line-height: normal; }
.auth-card .primary:focus-visible, .auth-card .primary-link:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }

.auth-card .error { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; border: 2px solid var(--danger); color: var(--fg); font-weight: 700; }
.auth-card .field-error { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: .9rem; font-weight: 700; color: var(--fg); }
.auth-card .field-error::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--danger); color: #fff; font-size: .8rem; line-height: 20px; text-align: center; }

.auth-card .switch { margin: 20px 0 0; color: var(--muted); }
.auth-card .switch a { color: var(--fg); }
.auth-card p { line-height: 1.5; }
.auth-card .emergency { margin: 32px 0 0; padding: 0; font-size: .85rem; color: var(--muted); }

/* "My reports": a wider page, from the top, one card per active report with its own cancel button */
.auth.top { place-items: start center; }
.auth.wide .auth-card { max-width: 520px; }
.my-reports { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.my-reports li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.my-reports .pin { width: 28px; height: 28px; filter: none; }
.my-reports .what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.my-reports .what strong { font-size: 1.1rem; }
.my-reports .what span { color: var(--muted); font-size: .9rem; }
.my-reports form { grid-column: 1 / -1; margin: 8px 0 0; }
.auth-card .secondary { width: 100%; min-height: 48px; padding: 0 16px; border: 2px solid var(--fg); border-radius: 24px; background: transparent; color: var(--fg); font: inherit; font-weight: 700; cursor: pointer; }
.auth-card .secondary:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
.auth-card .empty { margin: 24px 0 0; padding: 16px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); }
