html, body {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
}

.hxw-appbar {
    border-bottom: 1px solid #2a2e33;
}

.hxw-drawer {
    border-right: 1px solid #2a2e33;
}

.hxw-brand {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hxw-brand span {
    color: #3d9bff;
}

.hxw-muted {
    color: #9aa0a6 !important;
}

.hxw-mono {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.85rem;
}

.hxw-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hxw-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4a4f55;
    flex: none;
    display: inline-block;
}

.hxw-dot-live {
    background: #3d9bff;
    box-shadow: 0 0 0 0 rgba(61, 155, 255, 0.7);
    animation: hxw-pulse 1.8s infinite;
}

@keyframes hxw-pulse {
    0% { box-shadow: 0 0 0 0 rgba(61, 155, 255, 0.6); }
    70% { box-shadow: 0 0 0 7px rgba(61, 155, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 155, 255, 0); }
}

/* Aktuelles Wetter (wie die "On Air"-Karte im MediaCenter) */
.hxw-now {
    background: linear-gradient(135deg, #1c2330 0%, #1a1d21 60%, #1b2029 100%);
    border: 1px solid #2a2e33;
}

.hxw-now-temp {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.hxw-now-icon {
    font-size: 3.2rem;
    line-height: 1;
}

.hxw-badge-live {
    background: #3d9bff;
    color: #0b1320;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 2px 8px;
    border-radius: 4px;
}

.hxw-badge-off {
    background: #2a2e33;
    color: #9aa0a6;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 2px 8px;
    border-radius: 4px;
}

.hxw-station-card {
    border: 1px solid #2a2e33;
    transition: border-color 0.15s ease;
    height: 100%;
}

.hxw-station-card:hover {
    border-color: #3d9bff;
}

.hxw-cond {
    color: #7dd3fc;
    font-weight: 500;
}

.hxw-code {
    background: #0d0f11;
    border: 1px solid #2a2e33;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    white-space: pre;
}

.hxw-report-text {
    white-space: pre-line;
    line-height: 1.6;
}

.hxw-facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 14px;
    font-size: 0.9rem;
}

.hxw-facts > :nth-child(odd) {
    color: #9aa0a6;
}

#blazor-error-ui {
    background: #c62839;
    color: #fff;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

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

#blazor-error-ui .reload {
    color: #fff;
}

/* ---------- Login ---------- */
.hxw-login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 15%, rgba(61, 155, 255, 0.12), transparent 40%),
        radial-gradient(circle at 85% 90%, rgba(125, 211, 252, 0.08), transparent 45%),
        #111315;
    color: #e8e6e3;
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
}

.hxw-login-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px;
}

.hxw-login-card {
    width: 100%;
    max-width: 380px;
    background: #1a1d21;
    border: 1px solid #2a2e33;
    border-radius: 14px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.hxw-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.hxw-login-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.hxw-login-title span {
    color: #3d9bff;
}

.hxw-login-sub {
    color: #9aa0a6;
    font-size: 0.9rem;
}

.hxw-login-label {
    font-size: 0.82rem;
    color: #9aa0a6;
    margin: 10px 0 6px;
}

.hxw-login-input {
    background: #111315;
    border: 1px solid #3a3f45;
    border-radius: 8px;
    color: #e8e6e3;
    font: inherit;
    padding: 11px 12px;
    outline: none;
    transition: border-color 0.15s ease;
}

.hxw-login-input:focus {
    border-color: #3d9bff;
}

.hxw-login-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9aa0a6;
    font-size: 0.88rem;
    margin: 16px 0 18px;
    cursor: pointer;
}

.hxw-login-check input {
    accent-color: #3d9bff;
}

.hxw-login-button {
    background: #3d9bff;
    color: #0b1320;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.hxw-login-button:hover {
    background: #6bb4ff;
}

.hxw-login-error {
    background: rgba(231, 29, 54, 0.12);
    border: 1px solid rgba(231, 29, 54, 0.5);
    color: #ff8a98;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.hxw-login-public {
    color: #9aa0a6;
    font-size: 0.88rem;
}

.hxw-login-public a {
    color: #7dd3fc;
}

/* ---------- Diagramme ---------- */
.hxw-chart {
    position: relative;
}

.hxw-chart-max,
.hxw-chart-min {
    position: absolute;
    right: 0;
    font-size: 0.7rem;
}

.hxw-chart-max {
    top: -2px;
}

.hxw-chart-min {
    bottom: 16px;
}
