@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    color-scheme: light;
    --page-bg: #e8efe4;
    --page-ink: #173127;
    --page-muted: #5a7467;
    --font-body: 'Manrope', 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Manrope', sans-serif;
}

html, body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--page-ink);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top left, rgba(199, 229, 205, 0.95), transparent 34%),
        radial-gradient(circle at bottom right, rgba(170, 207, 221, 0.92), transparent 30%),
        linear-gradient(180deg, #f5f7f1 0%, var(--page-bg) 100%);
    font-size: 16px;
    line-height: 1.55;
}

#app {
    min-height: 100vh;
}

.startup-splash {
    min-height: 100vh;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 1rem;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.75), transparent 40%),
        linear-gradient(180deg, rgba(247, 250, 244, 0.92), rgba(232, 241, 228, 0.98));
}

.startup-splash img {
    width: min(22rem, 72vw);
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 28px rgba(18, 36, 30, 0.12));
}

.startup-splash-bar {
    width: min(18rem, 58vw);
    height: 0.8rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(33, 77, 61, 0.08);
    position: relative;
}

.startup-splash-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 34%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(33, 77, 61, 0.16), rgba(33, 77, 61, 0.58), rgba(33, 77, 61, 0.16));
    animation: startupSlide 1.4s ease-in-out infinite;
}

@keyframes startupSlide {
    0% { transform: translateX(-30%); }
    50% { transform: translateX(145%); }
    100% { transform: translateX(-30%); }
}

a {
    color: inherit;
}

h1:focus {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.content {
    padding: 1.25rem;
}

main {
    max-width: 1280px;
    margin: 0 auto;
}

#blazor-error-ui {
    color-scheme: light only;
    background: #fff4d6;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 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;
}
