* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #1a1a2e;
    color: #eee;
    min-height: 100vh;
}

#app {
    min-height: 100vh;
}

.loading-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
}

.loading-progress circle {
    fill: none;
    stroke: #4a90d9;
    stroke-width: 4;
    stroke-dasharray: 250;
    stroke-dashoffset: 250;
    animation: loading 2s linear infinite;
}

@keyframes loading {
    to {
        stroke-dashoffset: 0;
    }
}

.loading-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 80px;
    color: #4a90d9;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ff4444;
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 1000;
}

#blazor-error-ui .reload {
    color: white;
    text-decoration: underline;
    margin-left: 1rem;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    margin-left: 1rem;
}
