/* GoPDFA Portal — global styles */

html, body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Blazor Server circuit error/reconnect banner — hidden until JS shows it */
#blazor-error-ui {
    background: lightyellow;
    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: 1000;
}

#blazor-error-ui .reload {
    color: #1976d2;
    cursor: pointer;
}

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

/* Monospace helper used on API key displays */
.font-mono {
    font-family: 'Courier New', Courier, monospace;
}

/* Make MudTable rows feel clickable where used */
.cursor-pointer {
    cursor: pointer;
}

/* Ensure sticky detail panels don't overflow viewport */
.mud-paper[style*="position: sticky"] {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* Fallback for MudChart legend visibility differences across versions */
.no-legend-chart .mud-chart-legend,
.no-legend-chart .mud-chart-legend-container {
    display: none !important;
}
