/* Nerthos Nexus — base application styles.
   Minimal, dependency-free (no Bootstrap). Real design system arrives with the UI phases. */

:root {
    --nx-bg: #f7f8fa;
    --nx-surface: #ffffff;
    --nx-text: #1c2230;
    --nx-muted: #5b6573;
    --nx-accent: #2f6fed;
    --nx-border: #e3e7ee;
    --nx-radius: 8px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--nx-text);
    background-color: var(--nx-bg);
}

h1, h2, h3, h4 {
    line-height: 1.25;
    color: var(--nx-text);
}

a {
    color: var(--nx-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

code {
    font-family: "Cascadia Code", "Consolas", monospace;
    background-color: #eef1f6;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Blazor's default error UI. */
#blazor-error-ui {
    background: #ffefef;
    border-top: 1px solid #f0c0c0;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.1);
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
