html, body {
    margin: 0;
    font-family: 'Roboto', 'Segoe UI', system-ui, sans-serif;
    background: #f5f6f8;
}

.loading-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #4a5568;
}

.loading-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #cbd5e0;
    border-top-color: #1976d2;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fdecea;
    color: #611a15;
    padding: 12px 20px;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.15);
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 12px;
        top: 8px;
    }
