/*
|--------------------------------------------------------------------------
| PAMOT - MODAL DO FILTRO DE CONTATO
|--------------------------------------------------------------------------
*/

html.pmt-contact-filter-open {
    overflow: hidden;
}

.pmt-contact-filter-modal[hidden],
.pmt-contact-filter-content[hidden],
.pmt-contact-filter-notice[hidden],
.pmt-contact-filter-message[hidden],
.pmt-contact-filter-answers[hidden],
.pmt-contact-filter-contact[hidden] {
    display: none !important;
}

.pmt-contact-filter-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    padding: 20px;
}

.pmt-contact-filter-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .72);
    backdrop-filter: blur(3px);
}

.pmt-contact-filter-dialog {
    width: 100%;
    max-width: 470px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    position: relative;
    z-index: 1;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .30);
}

.pmt-contact-filter-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 0;
    color: #64748b;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    font-family: Arial, sans-serif;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.pmt-contact-filter-close:hover {
    color: #111827;
    background: #e2e8f0;
}

.pmt-contact-filter-kicker {
    display: block;
    padding-right: 42px;
    margin-bottom: 7px;
    color: #dc143c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pmt-contact-filter-dialog h2 {
    padding-right: 42px;
    margin: 0 0 20px;
    color: #111827;
    font-size: 25px;
    line-height: 1.18;
}

.pmt-contact-filter-loading {
    padding: 28px 10px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.pmt-contact-filter-loading::before {
    display: block;
    width: 34px;
    height: 34px;
    margin: 0 auto 12px;
    border: 3px solid #e2e8f0;
    border-top-color: #dc143c;
    border-radius: 50%;
    content: "";
    animation: pmt-contact-filter-spin .7s linear infinite;
}

@keyframes pmt-contact-filter-spin {
    to {
        transform: rotate(360deg);
    }
}

.pmt-contact-filter-question {
    margin: 0;
    color: #111827;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.45;
}

.pmt-contact-filter-notice {
    padding: 12px 14px;
    margin: 15px 0 0;
    color: #854d0e;
    border: 1px solid #fde68a;
    border-radius: 12px;
    background: #fefce8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.pmt-contact-filter-message {
    padding: 14px 15px;
    margin: 0;
    border: 1px solid #cbd5e1;
    border-radius: 13px;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.pmt-contact-filter-message.is-success {
    color: #166534;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.pmt-contact-filter-message.is-denied {
    color: #854d0e;
    border-color: #fde68a;
    background: #fefce8;
}

.pmt-contact-filter-message.is-error {
    color: #991b1b;
    border-color: #fecaca;
    background: #fef2f2;
}

.pmt-contact-filter-answers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.pmt-contact-filter-answer {
    min-height: 48px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

.pmt-contact-filter-answer.is-yes {
    color: #ffffff;
    background: #dc143c;
}

.pmt-contact-filter-answer.is-yes:hover {
    background: #b81035;
}

.pmt-contact-filter-answer.is-no {
    color: #334155;
    border-color: #cbd5e1;
    background: #ffffff;
}

.pmt-contact-filter-answer.is-no:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.pmt-contact-filter-answer:disabled {
    opacity: .55;
    cursor: wait;
}

.pmt-contact-filter-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 11px 18px;
    margin-top: 18px;
    color: #ffffff;
    border-radius: 13px;
    background: #16a34a;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.pmt-contact-filter-contact:hover {
    color: #ffffff;
    background: #15803d;
    text-decoration: none;
}

.pmt-contact-filter-answer:focus-visible,
.pmt-contact-filter-close:focus-visible,
.pmt-contact-filter-contact:focus-visible {
    outline: 3px solid rgba(220, 20, 60, .22);
    outline-offset: 2px;
}

@media (max-width: 560px) {
    .pmt-contact-filter-modal {
        align-items: flex-end;
        padding: 0;
    }

    .pmt-contact-filter-dialog {
        max-width: none;
        max-height: calc(100vh - 24px);
        padding: 24px 20px 20px;
        border-radius: 22px 22px 0 0;
    }

    .pmt-contact-filter-dialog h2 {
        font-size: 22px;
    }

    .pmt-contact-filter-question {
        font-size: 18px;
    }

    .pmt-contact-filter-answers {
        grid-template-columns: 1fr;
    }
}