/**
 * Pixel tracking consent checkbox.
 *
 * The native input is visually hidden but kept in the tab order; the box is
 * drawn on the label's ::before so the styling is identical across browsers.
 */

#newsletter_block_popup .gz-brevo-consent {
    max-width: 400px;
}

#moda_popupnewsletter .send-response {
    position: relative;
    padding: 0;
    padding-bottom: 15px;
}

.gz-brevo-consent {
    position: relative;
    margin-top: .75rem;
    text-align: center;

    max-width: 470px;
    margin: 0 auto;
    text-align: left;
    margin-top: 15px;
}

.gz-brevo-consent__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.gz-brevo-consent__label {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 100%;
    margin: 0;
    color: #fff;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}

.gz-brevo-consent__label::before {
    content: "";
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-right: .5rem;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 2px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
    transition: background-color .15s ease, border-color .15s ease;
}

.gz-brevo-consent__label:hover::before {
    border-color: #fff;
}

.gz-brevo-consent__input:checked + .gz-brevo-consent__label::before {
    border-color: #fff;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 6.4l2.8 2.8L10 3.4'/%3E%3C/svg%3E");
}

.gz-brevo-consent__input:focus + .gz-brevo-consent__label::before,
.gz-brevo-consent__input:focus-visible + .gz-brevo-consent__label::before {
    outline: 2px solid rgba(255, 255, 255, .7);
    outline-offset: 2px;
}
