/* The page around the app: the shared look (rookwild.css) on a big screen. */
html,
body {
    margin: 0;
    height: 100%;
    background: var(--rookwild-background, #eef0f2);
    color: var(--rookwild-ink, #1b2127);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.loading,
.signing-in {
    margin: 0;
    padding: 40px 20px;
    text-align: center;
    color: var(--rookwild-muted, #5b6570);
}

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 12px 20px;
    background: #b42318;
    color: #ffffff;
}

#blazor-error-ui a {
    color: #ffffff;
    margin-left: 12px;
}

/* A page that failed (PageCrashBoundary): say so plainly, and offer a way back. */
.rookwild-crash {
    max-width: 480px;
    margin: 48px auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 16px;
    background: var(--rookwild-surface, #ffffff);
    color: var(--rookwild-ink, #1b2127);
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.3);
}

.rookwild-crash p { margin: 0; color: var(--rookwild-muted, #5c6570); }

.rookwild-crash button {
    min-height: 48px;
    border: none;
    border-radius: 12px;
    background: var(--rookwild-accent, #d94f1e);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
