html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: #0b1020;
    color: #eef2ff;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

#app {
    min-height: 100vh;
}

.loading-shell {
    min-height: 100vh;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 1rem;
    background:
        radial-gradient(900px 500px at 20% 0%, rgba(90, 120, 255, 0.18), transparent 60%),
        #0b1020;
}

.loading-orb {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #7aa2ff 45%, #2a1f4a 80%);
    box-shadow: 0 0 40px rgba(122, 162, 255, 0.45);
    animation: pulse 1.8s ease-in-out infinite;
}

.loading-text {
    color: #a8b3cf;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.92); opacity: 0.85; }
    50% { transform: scale(1.08); opacity: 1; }
}

#blazor-error-ui {
    background: #2a1520;
    bottom: 0;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.4);
    display: none;
    left: 0;
    padding: 0.8rem 1.2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #ffc9d6;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#blazor-error-ui .reload {
    color: #7aa2ff;
    margin-left: 0.5rem;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.75rem;
}

.blazor-error-boundary {
    background: #b32134;
    padding: 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "Er is een fout opgetreden.";
}
