.pf-contact {
    display: none;
}
.pf-contact .pf-no-fields-message {
    position: relative;
    width: 345px;
    margin: 3em auto;
}
.pf-contact.pf-visible {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 54, 66, 0.9);
    z-index: 9999;
    overflow-y: auto;
    animation: pf-fade-in 0.15s ease-out;
}
.pf-contact.pf-hidden {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 54, 66, 0.9);
    z-index: 9999;
    overflow-y: auto;
    animation: pf-fade-out 0.15s ease-out forwards;
    pointer-events: none;
}
.pf-contact .pf-form {
    position: relative;
    width: 345px;
    background: #FFF;
    margin: 3em auto;
    cursor: auto;
    border-radius: 0.25em;
    padding: 1.4em;
    animation: pf-slide-in 0.2s ease-out;
    pointer-events: auto;
}
.pf-contact .pf-failed-alert {
    position: relative;
    width: 345px;
    margin: 3em auto;
}
.pf-contact.pf-hidden .pf-form {
    animation: pf-slide-out 0.15s ease-out forwards;
}
.pf-contact .pf-success {
    position: relative;
    width: 345px;
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #468847;
    padding: 20px;
    margin: 3em auto;
    border-radius: 0.25em;
    text-align: center;
    font-size: 16px;
    box-sizing: border-box;
    pointer-events: auto;
}
@keyframes pf-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pf-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes pf-slide-in {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes pf-slide-out {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}
.pf-contact .pf-popup-button{
    display: none;
}
.pf-contact .pf-close {
    opacity: 1;
    position: absolute;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
    padding: 0;
    width: 32px;
    height: 32px;
    top: -15px;
    right: -15px;
    transition: all 0.2s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.pf-contact .pf-close * {
    pointer-events: none;
}
.pf-contact .pf-close:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}
.pf-contact .pf-close svg {
    display: block;
    width: 100%;
    height: 100%;
}
.pf-contact .pf-close:hover circle {
    fill: #06a7fb;
}
.pf-contact .pf-success .pf-close circle {
    fill: #468847;
}
.pf-contact .pf-success .pf-close:hover circle {
    fill: #5a9e5a;
}
.pf-contact .pf-header {
    background: #0091dc url(../images/popup_contact_us.webp) no-repeat right top;
    padding: 10px 0;
    margin: -20px -20px 20px -20px;
    border-radius: 5px 5px 0 0;
    text-align: center;
}
.pf-contact .pf-header-content {
    color: #fff;
    font-size: 160%;
    font-weight: bold;
}
@media (max-width: 480px) {
    .pf-contact .pf-form,
    .pf-contact .pf-success,
    .pf-contact .pf-failed-alert,
    .pf-contact .pf-no-fields-message {
        width: 90%;
        max-width: 345px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}
.no-pointerevents .pf-contact {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12000;
    background: transparent;
    overflow-y: auto;
}
.no-pointerevents .pf-contact.pf-visible {
    display: block;
    background: rgba(52, 54, 66, 0.9);
}
.no-pointerevents .pf-contact.pf-hidden {
    display: none;
}
.no-pointerevents .pf-contact .pf-form,
.no-pointerevents .pf-contact .pf-success {
    animation: none !important;
    transition: none !important;
    pointer-events: auto;
}
.no-pointerevents .pf-contact.pf-visible .pf-form,
.no-pointerevents .pf-contact.pf-visible .pf-success {
    display: block;
}
.no-pointerevents .pf-contact.pf-hidden .pf-form,
.no-pointerevents .pf-contact.pf-hidden .pf-success {
    display: none;
}