#blazor-error-ui {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: none;
    max-width: 440px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #991b1b;
    background: #fff;
    box-shadow:
        0 20px 60px rgba(18, 24, 38, 0.18);
}

#blazor-error-ui .reload {
    margin-left: 8px;
    color: #971d36;
    font-weight: 800;
}

#blazor-error-ui .dismiss {
    margin-left: 12px;
    cursor: pointer;
    font-weight: 900;
}

.tc-boot {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #1d2638;
    background: #f7f8fb;
}

.tc-boot__mark {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            #b92342,
            #711629);
    font-weight: 850;
}

.tc-boot span {
    display: block;
    color: #627087;
    font-size: 0.78rem;
}


/* 154-A.11 R5: EditForm genera un elemento <form> desde un componente.
 * Esta regla global evita que el aislamiento CSS impida que el formulario
 * ocupe la fila disponible y garantiza que el cuerpo interno pueda desplazarse.
 */
form.tc-platform-editor__form {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

body:has(.tc-platform-editor-backdrop) {
    overflow: hidden;
}
