/* Blazor error overlay */
#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 .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Identity pages — Bootstrap 5.3 handles all dark/light switching via data-bs-theme on <html> */

/* Prevent text-selection I-beam cursor on access code list items */
.access-code-item,
.access-code-item * {
    cursor: pointer !important;
    user-select: none;
}

/* Monospace display for MQTT message payloads */
.message-payload {
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
}
