﻿:root {
    --background:             hsl(250, 17%, 95%);
    --foreground:             hsl(250, 16%, 19%);
    --card:                   hsl(0, 0%, 100%);
    --card-foreground:        hsl(250, 16%, 19%);
    --primary:                hsl(293, 30%, 67%);
    --primary-dark:           hsl(293, 32%, 52%);
    --primary-light:          hsl(293, 40%, 88%);
    --secondary:              hsl(252, 25%, 97%);
    --secondary-foreground:   hsl(248, 15%, 27%);
    --muted:                  hsl(252, 25%, 97%);
    --muted-foreground:       hsl(248, 10%, 46%);
    --accent:                 hsl(251, 27%, 71%);
    --accent-light:           hsl(215, 50%, 88%);
    --border:                 hsl(248deg 15% 27% / 18%);
    --ring:                   hsl(293, 30%, 67%);
    --radius:                 0.75rem;
    --sidebar-bg:             hsl(248, 20%, 13%);
    --sidebar-fg:             hsl(250, 14%, 80%);
    --sidebar-active:         hsl(293, 30%, 67%);
    --surface:                hsl(0, 0%, 100%);
    --text-primary:           hsl(250, 16%, 19%);
    --text-secondary:         hsl(248, 10%, 46%);
    --text-muted:             hsl(255, 15%, 63%);
    --positive-bg:            hsl(142, 60%, 92%);
    --positive-fg:            hsl(142, 60%, 22%);
    --alert-bg:               hsl(0, 84%, 95%);
    --alert-fg:               hsl(0, 72%, 40%);
    --neutral-bg:             hsl(214, 80%, 93%);
    --neutral-fg:             hsl(214, 80%, 30%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "DM Sans", system-ui, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

/* Remove outline on programmatic focus; show only for keyboard navigation. */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

#app {
    min-height: 100vh;
}

.blazor-error-boundary {
    background-color: var(--alert-fg);
    color: #ffffff;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
}

.blazor-error-boundary::after {
    content: "A component rendering error has occurred.";
}
