:root {
    --belgo-alerta-red: #c8102e;
    --belgo-alerta-text: #242424;
}

.belgo-alerta[hidden] {
    display: none;
}

.belgo-alerta {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 9999;
}

.belgo-alerta__backdrop {
    background: rgba(0, 0, 0, 0.62);
    inset: 0;
    position: absolute;
}

.belgo-alerta__dialog {
    background: #fff;
    border-top: 5px solid var(--belgo-alerta-red);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    color: var(--belgo-alerta-text);
    max-width: 520px;
    padding: 38px 40px 34px;
    position: relative;
    text-align: center;
    width: 100%;
}

.belgo-alerta__close {
    align-items: center;
    background: transparent;
    border: 0;
    color: #666;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    justify-content: center;
    line-height: 1;
    padding: 0 8px;
    position: absolute;
    right: 12px;
    top: 8px;
}

.belgo-alerta__close:hover,
.belgo-alerta__close:focus-visible {
    color: var(--belgo-alerta-red);
}

.belgo-alerta__button {
    background: var(--belgo-alerta-red);
    border: 1px solid var(--belgo-alerta-red);
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    min-width: 120px;
    padding: 11px 24px;
}

.belgo-alerta__button:hover,
.belgo-alerta__button:focus-visible {
    background: #a90d27;
    border-color: #a90d27;
}

.belgo-alerta__icon {
    color: var(--belgo-alerta-red);
    height: 56px;
    margin-bottom: 16px;
    width: 56px;
}

.belgo-alerta__dialog h2 {
    color: var(--belgo-alerta-red);
    font-size: 24px;
    margin: 0 0 12px;
}

.belgo-alerta__dialog p {
    font-size: 17px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 575px) {
    .belgo-alerta {
        padding: 16px;
    }

    .belgo-alerta__dialog {
        padding: 34px 24px 28px;
    }
}