html, body {
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f4f6f9;
    color: #1f2937;
}

a, .btn-link {
    color: #b71c1c;
}

a:hover {
    color: #7f1d1d;
}

.btn-primary {
    color: #fff;
    background-color: #b71c1c;
    border-color: #991b1b;
}

.btn-primary:hover, .btn-primary:active {
    background-color: #991b1b;
    border-color: #7f1d1d;
}

.btn-outline-primary {
    color: #b71c1c;
    border-color: #b71c1c;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #b71c1c;
    border-color: #b71c1c;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-select:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(183, 28, 28, 0.25);
    border-color: #b71c1c;
}

.content {
    padding-top: 1.25rem;
    max-width: 1440px;
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 0.65rem;
}

.card-header {
    border-bottom-color: #eef0f3;
    border-top-left-radius: 0.65rem !important;
    border-top-right-radius: 0.65rem !important;
}

.kpi-card {
    border-radius: 0.65rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 0.9rem 1.1rem;
}

.metric-chip {
    display: inline-block;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0.35rem;
    padding: 0.12rem 0.45rem;
    font-size: 0.78rem;
    color: #334155;
    margin-right: 0.25rem;
    margin-bottom: 0.2rem;
}

.status-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    margin-right: 0.35rem;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1.25rem;
    color: white;
    border-radius: 0.5rem;
}

.blazor-error-boundary::after {
    content: "Es ist ein unerwarteter Darstellungsfehler aufgetreten.";
}
