/* wwwroot/css/app.css */

/* ========== Reset & Base ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: #1a1a2e;
    background-color: #f8f7f4;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ========== Blazor error UI ========== */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 20px;
    font-size: 14px;
    border-top: 1px solid #fca5a5;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        float: right;
        font-weight: 700;
    }

/* ========== Blazor loading progress ========== */
.loading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(249, 115, 22, 0.2);
    z-index: 9999;
}

.loading-progress-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: rgba(0,0,0,0.4);
}

/* ========== Utility ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-section {
    padding: 64px 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

