/**
 * Popups de mensagens Flash (erro, sucesso, aviso).
 */
.df-flash-mount {
    display: contents;
}

.popup.df-flash-popup {
    --df-flash-overlay: rgba(0, 0, 0, 0.85);

    z-index: 10060;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: max(16px, env(safe-area-inset-top))
        max(16px, env(safe-area-inset-right))
        max(16px, env(safe-area-inset-bottom))
        max(16px, env(safe-area-inset-left));
    overflow: auto;
    background: var(--df-flash-overlay) !important;
    font-family: "Futura PT", Raleway, Arial, sans-serif;
    color: #0d3852;
}

.popup.df-flash-popup[aria-hidden="true"] {
    display: none !important;
}

.popup.df-flash-popup .df-flash-popup__scale {
    flex-shrink: 0;
    transform: scale(var(--df-content-scale, 1));
    transform-origin: center center;
}

.popup.df-flash-popup .df-flash-popup__dialog {
    display: flex;
    flex-direction: column;
    width: min(92vw, 900px);
    min-height: auto;
    margin: 0;
    padding: clamp(12px, 2vw, 24px);
    border-radius: clamp(24px, 4vw, 40px);
    background: linear-gradient(112deg, #a4d041 0%, #d4e9ad 100%) !important;
    color: #0d3852;
    box-shadow: 0 28px 0 rgba(17, 38, 53, 0.18);
}

.popup.df-flash-popup .df-panel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    padding: clamp(28px, 5vw, 64px);
    border: clamp(7px, 1.2vw, 12px) solid #ffffff;
    border-radius: clamp(18px, 3vw, 30px);
    background-color: transparent !important;
}

.popup.df-flash-popup .df-flash-popup__title {
    align-self: stretch;
    margin: 0 0 clamp(16px, 3vw, 32px);
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.05;
    text-align: left;
    text-transform: none;
}

.popup.df-flash-popup .df-flash-popup__message,
.popup.df-flash-popup .popup-text {
    align-self: stretch;
    width: 100%;
    margin: 0;
    font-size: clamp(16px, 2.5vw, 28px);
    font-weight: 400;
    line-height: 1.3;
    color: #0d3852;
    text-align: left;
}

.popup.df-flash-popup .df-flash-popup__message b,
.popup.df-flash-popup .popup-text b {
    font-weight: 800;
}

.popup.df-flash-popup .df-flash-popup__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(292px, 72vw);
    min-width: 0;
    min-height: clamp(56px, 10vw, 76px);
    margin: clamp(28px, 5vw, 48px) 0 0;
    padding: 16px 28px;
    border: 4px solid #0d3852;
    border-radius: 0;
    background: #99ca35 !important;
    color: #0d3852;
    font-family: inherit;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.popup.df-flash-popup .df-flash-popup__close:hover,
.popup.df-flash-popup .df-flash-popup__close:focus-visible {
    background: #b2df52 !important;
    box-shadow: 0 12px 0 rgba(13, 56, 82, 0.2);
    transform: translateY(-4px);
}

.popup.df-flash-popup--error .df-flash-popup__title {
    color: #0d3852;
}

.popup.df-flash-popup--success .df-flash-popup__title {
    color: #0d3852;
}

body.df-portrait-flow .popup.df-flash-popup .df-flash-popup__scale {
    transform: none;
    width: 100%;
    max-width: min(92vw, 560px);
}

body.df-portrait-flow .popup.df-flash-popup .df-flash-popup__dialog {
    width: 100%;
}

html:not(:has(body.df-page)) .popup.df-flash-popup .df-flash-popup__scale {
    transform: none;
    width: 100%;
    max-width: min(92vw, 720px);
}

html:not(:has(body.df-page)) .popup.df-flash-popup .df-flash-popup__dialog {
    width: 100%;
}
