html, body {
    margin: 0;
    height: 100%;
}

.app-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #009688;
}

.app-loading-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.app-loading-text {
    margin-top: 0.5rem;
    color: #757575;
}

#blazor-error-ui {
    background: #b71c1c;
    color: white;
    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: 3000;
}

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

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

/* Sensor-Kacheln wie im Referenzprodukt */
.sensor-tile {
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.15s ease-in-out;
}

.sensor-tile:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.sensor-tile .value {
    font-size: 1.9rem;
    font-weight: 500;
}

.sensor-tile .unit {
    font-size: 1rem;
    color: #757575;
    margin-left: 0.3rem;
}

.sensor-tile .timestamp {
    font-size: 0.78rem;
    color: #9e9e9e;
}
