﻿.dw-popup-confirm-text-area,
.dw-popup-swal {
    /* Layout Flexbox Conforme Especificação */
    display: inline-flex !important;
    padding: 40px !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 24px; /* Espaçamento entre ícone, título e texto */
    /* Aparência Conforme Especificação */
    border-radius: 8px !important;
    border: 0.8px solid var(--border-border-dark, #4B4E4E) !important;
    background: var(--neutrals-light-1, #FCFCFC) !important;
    min-width: 448px !important;
    box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.15) !important;
    /* Controle de Tamanho (mantido do seu CSS anterior para consistência) */
}

.dw-popup-swal{
    max-width:80vw;
    width:auto;
}

.dw-popup-body,
.dw-popup-swal {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.dw-popup-body {
    gap: 24px !important;
    color: var(--text-text_tertiary) !important;
}

.dw-popup-title,
.dw-popup-title-load {
    color: var(--text-text_tertiary, #585B5B);
    text-align: center;
    /* Title */
    padding:0;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 133.333% */
}

.dw-popup-body h5,
.dw-popup-title-confirm-text-area {
    color: var(--text-text_tertiary);
    text-align: center;
}

.dw-popup-body h5 {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.dw-popup-htmlContainer {
    /* margin: 24px 0 0 0 !important; /* REMOVA OU COMENTE ESTA LINHA */
    max-height: none !important;
    color: var(--text-text_tertiary) !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding:0 !important;
    line-height: 20px !important;
}

.dw-popup-confirm-text-area-htmlContainer {
    max-height: none !important;
}

.dw-popup-main-document-download {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 8px;
}

    .dw-popup-main-document-download a,
    .dw-popup-document-download {
        color: var(--text-text_tertiary);
        font-size: 12.8px;
        font-weight: 400;
        line-height: 18px;
    }

        .dw-popup-main-document-download i,
        .dw-popup-document-download i {
            margin-right: 8px;
            font-size: 16px;
        }

        .dw-popup-main-document-download a:hover,
        .dw-popup-main-document-download a:hover i,
        .dw-popup-document-download:hover,
        .dw-popup-document-download:hover i {
            color: var(--text-text_primary);
            text-decoration: underline !important;
        }

.dw-popup-list-error {
    color: var(--text-text_tertiary);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-align: left !important;
    margin: 0;
}

.dw-popup-download-document {
    margin-top: 24px;
    list-style: none;
}

.dw-popup-icon {
    margin: 0;
    border: 0;
    width: 98px;
    height: 98px;
}

.dw-popup-title-confirm-text-area {
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
}

.dw-popup-confirm-text-area .swal2-input-label {
    display: inline;
    margin: 24px 0 0 0 !important;
}

.dw-popup-confirm-text-area textarea {
    display: inline-block;
    min-width: 540px !important;
    min-height: 43.538px;
    border: 1px solid var(--border-border_light);
    background: var(--neutrals-Light);
}

.dw-popup-confirm-text-area .swal2-textarea:focus {
    border: 1px solid var(--border-border_light);
    outline: none;
    box-shadow: 0px 0px 0rem 0.125rem rgba(255,127,90,0.55);
}

.dw-popup-buttons-confirm-text-area,
.dw-popup-buttons {
    gap: 16px;
    flex-direction: row-reverse;
}

.dw-popup-buttons {
    gap: 16px;
    margin:0;
    flex-direction: row-reverse;
}

.dw-popup-buttons-confirm-text-area {
    margin: 24px 0 0 0 !important;
}

.dw-popup-body h5,
.dw-popup-title-confirm-text-area,
.dw-popup-body ul,
.dw-popup-body p,
.dw-popup-error-message,
.dw-popup-confirm-text-area .swal2-html-container,
.swal2-popup textarea,
.dw-popup-buttons button {
    margin: 0 !important;
}

.dw-popup-text {
    color: var(--text-text_tertiary);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    margin: 0 !important;
}
