.cpf-consulta-modal {
    z-index: 1060;
}

.cpf-consulta-modal .modal-dialog {
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    width: calc(100% - 32px);
}

.cpf-consulta-modal .modal-content {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .22);
    color: #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    overflow: hidden;
}

.cpf-consulta-modal .modal-body {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    gap: 14px;
    min-height: 76px;
    padding: 20px;
}

.cpf-consulta-modal__loader {
    animation: cpf-consulta-loader-spin .75s linear infinite;
    border: 3px solid rgba(var(--filia-primary-rgb, var(--client-rgb, 49, 93, 199)), .18);
    border-radius: 50%;
    border-top-color: var(--filia-primary, var(--client-primary, #315dc7));
    flex: 0 0 34px;
    height: 34px;
    width: 34px;
}

.cpf-consulta-modal__title {
    color: #0f172a;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.cpf-consulta-modal__text {
    color: #64748b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    margin: 2px 0 0;
}

/* Mantém o indicador do envio final igual ao loader de consulta do CPF. */
.loader-modal-padrao .cadastro-saving-modal__indicator {
    background: transparent;
    border: 0;
    border-radius: 50%;
    flex: 0 0 34px;
    height: 34px;
    width: 34px;
}

.loader-modal-padrao .cadastro-saving-modal__loader {
    border: 3px solid rgba(var(--filia-primary-rgb, var(--client-rgb, 49, 93, 199)), .18);
    border-radius: 50%;
    border-top-color: var(--filia-primary, var(--client-primary, #315dc7));
    box-shadow: none;
    flex: 0 0 34px;
    height: 34px;
    width: 34px;
}

html.public-login-theme-dark .cpf-consulta-modal .modal-content,
body.theme-dark .cpf-consulta-modal .modal-content {
    background: #172033;
    border-color: #334155;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
    color: #f8fafc;
}

html.public-login-theme-dark .cpf-consulta-modal__loader,
body.theme-dark .cpf-consulta-modal__loader {
    border-color: #334155;
    border-top-color: var(--filia-primary, var(--client-primary, #315dc7));
}

body.theme-dark .loader-modal-padrao .cadastro-saving-modal__indicator {
    background: transparent !important;
    border: 0 !important;
}

body.theme-dark .loader-modal-padrao .cadastro-saving-modal__loader {
    border-color: rgba(var(--filia-primary-rgb, var(--client-rgb, 49, 93, 199)), .18) !important;
    border-top-color: var(--filia-primary, var(--client-primary, #315dc7)) !important;
    box-shadow: none !important;
}

html.public-login-theme-dark .cpf-consulta-modal__title,
body.theme-dark .cpf-consulta-modal__title {
    color: #f8fafc;
}

html.public-login-theme-dark .cpf-consulta-modal__text,
body.theme-dark .cpf-consulta-modal__text {
    color: #a8c7ef;
}

@keyframes cpf-consulta-loader-spin {
    to {
        transform: rotate(360deg);
    }
}
