/* ─── Heimdall — Global Styles ────────────────────────────────── */ html, body { font-family: 'Inter', 'Roboto', 'Helvetica', 'Arial', sans-serif; height: 100%; margin: 0; background-color: #f5f5f5; color-scheme: light dark; } /* ─── Scrollbar ───────────────────────────────────────────────── */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #c4c4c4; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #a6a6a6; } * { scrollbar-color: #c4c4c4 transparent; scrollbar-width: thin; } /* ─── MudBlazor overrides ─────────────────────────────────────── */ .mud-dialog { border-radius: 12px !important; } .mud-table { border-radius: 12px !important; } /* Code blocks in tokens */ code { font-family: 'Fira Code', 'Cascadia Code', monospace; font-size: 0.9em; } /* ─── Validation ───────────────────────────────────────────────── */ .valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; } .invalid { outline: 1px solid #e50000; } .validation-message { color: #e50000; } /* ─── Blazor error UI ─────────────────────────────────────────── */ #blazor-error-ui { color-scheme: light only; background: lightyellow; bottom: 0; box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); box-sizing: border-box; display: none; left: 0; padding: 0.6rem 1.25rem 0.7rem 1.25rem; position: fixed; width: 100%; z-index: 1000; } #blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; } /* ─── User management ──────────────────────────────────────────── */ .user-section-card { background: var(--mud-palette-surface); border: 1px solid var(--mud-palette-lines-inputs); border-radius: 8px; } /* ─── Settings page ────────────────────────────────────────────── */ .settings-type-chip { padding: 2px 8px !important; border-radius: 12px !important; display: inline-block !important; color: #fff !important; } /* ─── Auth pages (Login / Register) ─────────────────────────────── */ .auth-page { /* Theme variables — override in dark mode media query */ --auth-bg-start: #0f172a; --auth-bg-mid: #1e293b; --auth-bg-end: #0f172a; --auth-primary: #6366f1; --auth-primary-rgb: 99, 102, 241; --auth-primary-hover: #4f46e5; --auth-accent: #8b5cf6; --auth-bg-card: rgba(255, 255, 255, 0.98); --auth-text-heading: #1e293b; --auth-text-body: #475569; --auth-text-link: #6366f1; --auth-text-link-hover: #4f46e5; --auth-border: #e2e8f0; --auth-bg-input: #f8fafc; --auth-shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.25); --auth-border-card: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 1.5rem; background: linear-gradient(135deg, var(--auth-bg-start) 0%, var(--auth-bg-mid) 50%, var(--auth-bg-end) 100%); position: relative; overflow: hidden; } /* Decorative background circles */ .auth-page::before { content: ''; position: absolute; top: -25%; right: -15%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--auth-primary-rgb), 0.15) 0%, transparent 70%); pointer-events: none; } .auth-page::after { content: ''; position: absolute; bottom: -20%; left: -10%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%); pointer-events: none; } .auth-card { width: 100%; max-width: 420px; background: var(--auth-bg-card); border-radius: 20px; padding: 2.5rem 2rem; box-shadow: var(--auth-shadow-card), 0 0 0 1px var(--auth-border-card); position: relative; z-index: 1; animation: auth-card-enter 0.4s ease-out; } @keyframes auth-card-enter { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } .auth-header { text-align: center; margin-bottom: 2rem; } .auth-header .auth-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--auth-primary), var(--auth-accent)); color: #fff; margin-bottom: 1rem; box-shadow: 0 8px 24px rgba(var(--auth-primary-rgb), 0.3); } .auth-header h1 { font-size: 1.5rem; font-weight: 700; color: var(--auth-text-heading); margin: 0 0 0.25rem; letter-spacing: -0.02em; } .auth-header p { font-size: 0.875rem; color: var(--auth-text-body); margin: 0; } .auth-form { display: flex; flex-direction: column; gap: 0.75rem; } .auth-form .mud-input-outlined { background: var(--auth-bg-input); } .auth-form .auth-submit-btn { height: 48px; font-size: 0.95rem; font-weight: 600; border-radius: 12px; text-transform: none; letter-spacing: 0.01em; margin-top: 0.25rem; } .auth-error { margin-bottom: 0.5rem; } .auth-footer { text-align: center; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--auth-border); } .auth-footer p { font-size: 0.875rem; color: var(--auth-text-body); margin: 0; } .auth-footer a { color: var(--auth-text-link); font-weight: 600; text-decoration: none; transition: color 0.2s; } .auth-footer a:hover { color: var(--auth-text-link-hover); text-decoration: underline; } /* ─── Accessibility ─────────────────────────────────────────────── */ @media (prefers-reduced-motion: reduce) { .auth-card { animation: none; } .auth-footer a { transition: none; } } /* ─── Dark mode ─────────────────────────────────────────────────── */ @media (prefers-color-scheme: dark) { html, body { background-color: #0f172a; } #blazor-error-ui { background: #3a2a00; color: #ffd966; } /* Auth pages — only override variables, no selector duplication */ .auth-page { --auth-bg-card: rgba(30, 41, 59, 0.98); --auth-text-heading: #f1f5f9; --auth-text-body: #cbd5e1; --auth-text-link: #818cf8; --auth-text-link-hover: #a5b4fc; --auth-border: #334155; --auth-bg-input: #1e293b; --auth-shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5); --auth-border-card: rgba(255, 255, 255, 0.05); } }