/* MeterTrack PWA — minimal global styles. MudBlazor handles component styling. */

html, body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    /* Prevent overscroll bounce on iOS */
    overscroll-behavior: none;
}

/* Safe-area padding for iOS notch / home bar */
.mud-main-content {
    padding-bottom: max(env(safe-area-inset-bottom), 16px);
}

/* Blazor error UI */
#blazor-error-ui {
    color-scheme: light only;
    background: #fef2f2;
    border-top: 2px solid #fca5a5;
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
    font-size: 0.875rem;
    color: #991b1b;
}

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

/* Cursor pointer on clickable MudCards */
.cursor-pointer {
    cursor: pointer;
}

.cursor-pointer:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    transition: box-shadow 0.2s ease;
}
