/*
 * Vistas de estado de transacción (home, transaccion-*, transaction-register,
 * belvoStatus, psestatus, stateTransactionDavivienda). Antes: atributos style=;
 * la CSP no admite 'unsafe-inline' en style-src.
 *
 * Patrón style= -> clase: `:where(.clase) { … !important }`. Reproduce la
 * precedencia del atributo sin !important: gana a toda regla normal (como el
 * style=) y pierde ante cualquier otra regla !important (especificidad 0), igual
 * que antes. Ningún JS modifica estas propiedades.
 */

:where(.tx-status__hero) {
    display: grid !important;
    align-items: center !important;
    background-image: url('/img/fondo-transacciones.png') !important;
    background-size: cover !important;
}

:where(.tx-status__icon) {
    font-size: 60px !important;
}

:where(.tx-status__icon--success) {
    color: green !important;
}

:where(.tx-status__icon--warning) {
    color: orange !important;
}

:where(.tx-status__icon--error) {
    color: red !important;
}

:where(.tx-status__title) {
    font-size: 40px !important;
}

:where(.tx-status__title--lg) {
    font-size: 60px !important;
}

:where(.tx-status__button) {
    width: 80% !important;
}

:where(.tx-status__footer) {
    border-top: 20px solid #dc3545 !important;
    background: #282828 !important;
}
