#fxur-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(95, 95, 95, 0.65);
    backdrop-filter: blur(6px);
    z-index: 999999;
}

div#input_1_17 {
    flex-direction: row;
    flex-wrap: wrap;
    height: 160px;
    overflow: auto;

    .gchoice {
        width: 48%;
        align-items: center;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 480px) {
    .fxur-popup-content {
        padding: 1.5rem;
        width: 95%;
    }
}

#fxur-popup.active {
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
}

.fxur-popup-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #001996;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.35);
    max-width: 704px;
    width: 90%;
    padding: 20px;
    margin: auto;
    max-height: 90vh;
}

@media (min-width: 768px) {
    .fxur-popup-content {
        padding: 20px 32px 32px;
    }
}

.fxur-popup-close-button {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1;
}

@media (min-width: 768px) {
    .fxur-popup-close-button {
        top: 1rem;
        right: 1rem;
    }
}

.fxur-popup-close-button-icon {
    display: block;
    width: 20px;
    height: 20px;
    position: relative;
    opacity: 0.65;
}

.fxur-popup-close-button-icon:before,
.fxur-popup-close-button-icon:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    top: 50%;
    left: 0;
}

.fxur-popup-close-button-icon:before {
    transform: rotate(45deg);
}

.fxur-popup-close-button-icon:after {
    transform: rotate(-45deg);
}

.fxur-popup-content .gform_heading {
    margin-bottom: 20px;
}

.fxur-popup-content .gform_title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .fxur-popup-content .gform_title {
        font-size: 26px;
    }
}

.fxur-popup-content .gform_title::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url(https://resources.purolator.com/wp-content/uploads/2025/09/icon-newspaper-v01.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.fxur-popup-content .gform_description,
.fxur-popup-content .gform_required_legend {
    display: none;
}

.fxur-popup-content form {
    background-color: #fff;
    padding: 15px;
    max-height: 80vh;
    overflow: scroll;
}

@media (min-width: 768px) {
    .fxur-popup-content form {
        padding: 32px;
    }
}

.fxur-popup-content .gform_body .gform_fields {
    row-gap: 15px;
}

@media (min-width: 768px) {
    .fxur-popup-content .gform_body .gform_fields {
        row-gap: 20px;
    }
}

.fxur-popup-content .gfield--input-type-name .gform-field-label--type-sub,
.fxur-popup-content .gfield .gform-field-label,
.fxur-popup-content .gfield .gform-field-label .gfield_required {
    font-size: 16px;
    font-weight: 700;
    color: #0a0a0a;
    gap: 0;
    display: inline-block;
}

.fxur-popup-content .gfield .gform-field-label .gfield_required {
    color: #ff0000;
}

.fxur-popup-content .gfield--input-type-name .gform-field-label--type-sub::after {
    content: "*";
    color: #ff0000;
}

.fxur-popup-content .gfield--input-type-consent .gfield_consent_label {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

.fxur-popup-content .gfield .ginput_container {
    column-gap: 13px;
}

.fxur-popup-content .gfield .ginput_container input:not([type="checkbox"]) {
    border: none;
    border-bottom: 1px solid #bcbbb9;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.fxur-popup-content .ginput_container_multiselect .ts-control {
    border-color: #bcbbb9;
    border-radius: 0;
    box-shadow: none;
}

.fxur-popup-content .gfield .ginput_container input[type="checkbox"] {
    border-color: #bcbbb9;
    border-radius: 0;
    box-shadow: none;
    margin-top: 4px;
}

.fxur-popup-content .gfield .ginput_container input:not([type="checkbox"])::placeholder {
    color: #7f7f7f;
    font-size: 15px;
}

.fxur-popup-content.fxur-popup-content .gform_wrapper .gform_footer.gform-footer input.gform_button.button {
    background-color: #fbdd40;
    color: #0a0a0a;
    border: none;
    border-radius: 5px;
    width: 100%;
    font-size: 16px;
    line-height: 1.45;
    padding: 13px 16px;
    transition: background-color 0.3s ease;
}

.fxur-popup-content.fxur-popup-content .gform_wrapper .gform_footer.gform-footer input.gform_button.button:hover {
    background-color: #fdea8b;
}

.fxur-popup-content .gfield_description {
    font-size: 12px !important;
}

.fxur-popup-content .fxur-unsubsribe {
    cursor: pointer;
    font-size: 14px;
}

.fxur-popup-content .gform_confirmation_message {
    color: #fff;
}
