/**
 * Portal RH OS Para 2000
 * Alerta de bloqueio do portal
 */
.rh-block-alert {
    position: fixed;
    inset: 0;
    z-index: 16000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    color: #1e2a4a;
}

.rh-block-alert__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 34, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.rh-block-alert__dialog {
    position: relative;
    z-index: 1;
    width: min(680px, calc(100vw - 28px));
    max-height: calc(100dvh - 34px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.74);
    box-shadow: 0 34px 96px rgba(12, 18, 34, .36);
    animation: rhBlockAlertIn .22s ease both;
}

.rh-block-alert__top {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 28px 32px;
    color: #fff;
    background: linear-gradient(135deg, #1e2a4a 0%, #40577f 100%);
    position: relative;
    overflow: hidden;
}

.rh-block-alert__top::after {
    content: "";
    position: absolute;
    right: -76px;
    top: -96px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
}

.rh-block-alert__icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    position: relative;
    z-index: 1;
}

.rh-block-alert__icon-svg {
    width: 42px;
    height: 42px;
    display: block;
}

.rh-block-alert__kicker {
    display: block;
    margin-bottom: 7px;
    font: 900 12px/1 'Nunito', sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
    position: relative;
    z-index: 1;
}

.rh-block-alert h2 {
    margin: 0;
    font: 900 34px/1.06 'Nunito', sans-serif;
    letter-spacing: -.02em;
    color: #fff;
    position: relative;
    z-index: 1;
}

.rh-block-alert__body {
    padding: 30px 32px 20px;
    overflow-y: auto;
}

.rh-block-alert__body p {
    margin: 0;
    font-size: 17px;
    line-height: 1.72;
    color: #61708a;
}

.rh-block-alert__notice {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff8e6;
    border: 1px solid #ffe1a8;
    color: #8a5a00;
    font: 800 13px/1.5 'Nunito', sans-serif;
}

.rh-block-alert__actions {
    display: grid;
    gap: 12px;
    padding: 18px 32px 30px;
    background: #fff;
    border-top: 1px solid #edf2fa;
}

.rh-block-alert__btn {
    min-height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    font: 900 16px/1 'Nunito', sans-serif;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.rh-block-alert__btn:hover {
    transform: translateY(-1px);
}

.rh-block-alert__btn--primary {
    background: #22c55e;
    color: #fff;
    box-shadow: 0 16px 30px rgba(34,197,94,.22);
}

.rh-block-alert__btn--secondary {
    background: #f6f8fc;
    color: #1e2a4a;
    border: 1px solid #dfe7f4;
}

@keyframes rhBlockAlertIn {
    from { opacity: 0; transform: translateY(14px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
    .rh-block-alert {
        padding: 14px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .rh-block-alert__dialog {
        width: 100%;
        margin-top: 8px;
        border-radius: 24px;
        max-height: none;
    }

    .rh-block-alert__top {
        grid-template-columns: 1fr;
        padding: 24px 22px;
    }

    .rh-block-alert h2 {
        font-size: 28px;
    }

    .rh-block-alert__body,
    .rh-block-alert__actions {
        padding-left: 22px;
        padding-right: 22px;
    }
}
