html, body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.app-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #666;
}

#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;
}

/* Contenedor del preview HTML de anuncios: imita el marco del device */
.announcement-preview {
    border: 1px solid var(--rz-base-300);
    border-radius: 4px;
    padding: 1rem;
    min-height: 200px;
    max-height: 420px;
    overflow: auto;
    background: #fff;
}

.announcement-raw-html {
    max-height: 420px;
    overflow: auto;
    background: var(--rz-base-100);
    padding: 0.75rem;
    border-radius: 4px;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 0.8rem;
}
