/* Webapp-specific overrides — shared styles live in FamilyQuiz.Shared/css/app.css */

html,
body {
    margin: 0;
    background: #faf9f6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

#app {
    background: #faf9f6;
    min-height: 100vh;
}

:root {
    --mm-green: #2d5016;
    --mm-green-light: #3d6a1e;
    --mm-green-bg: #f0f7ed;
    --mm-orange: #e89237;
    --mm-orange-light: #f4a961;
    --mm-yellow: #ffc107;
    --mm-white: #ffffff;
    --mm-gray-light: #f8f9fa;
    --mm-gray: #6c757d;
    --mm-gray-dark: #2d5016;
    --mm-success: #28a745;
    --mm-error: #dc3545;
    --mm-radius-sm: 8px;
    --mm-radius-md: 12px;
    --mm-radius-lg: 20px;
    --mm-radius-full: 9999px;
    --mm-shadow-sm: 0 1px 3px rgba(45, 80, 22, 0.1);
    --mm-shadow-md: 0 4px 12px rgba(45, 80, 22, 0.15);
    --mm-shadow-lg: 0 10px 25px rgba(45, 80, 22, 0.2);
}

h1:focus { outline: none; }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
    border-radius: 8px;
    margin: 1rem;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}