/* Welovevent – süti-hozzájárulás (a TöbbmintEgészség privacy-consent.css-e alapján, welovevent-színekkel) */
.wpc-banner,
.wpc-modal,
.wpc-settings-button {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.wpc-banner {
    position: fixed;
    z-index: 10040;
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: 1120px;
    margin: 0 auto;
    background: #fff;
    color: #232020;
    border: 1px solid #E9E8E8;
    border-left: 5px solid #DA2F8A;
    border-radius: 6px;
    box-shadow: 0 18px 55px rgba(35, 32, 32, .22);
    padding: 22px 24px;
}

.wpc-banner[hidden],
.wpc-overlay[hidden],
.wpc-settings-button[hidden] {
    display: none !important;
}

.wpc-banner-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.wpc-banner-copy h2,
.wpc-modal h2 {
    margin: 0 0 7px;
    color: #232020;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0;
}

.wpc-banner-copy p,
.wpc-modal p,
.wpc-category p {
    margin: 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.55;
}

.wpc-banner-copy a,
.wpc-modal a {
    color: #232020;
    text-decoration: underline;
    text-decoration-color: #DA2F8A;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.wpc-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
}

.wpc-button {
    min-height: 42px;
    border: 1px solid #cfcccc;
    border-radius: 4px;
    padding: 9px 15px;
    background: #fff;
    color: #232020;
    font: 600 14px/1.2 'Poppins', Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    cursor: pointer;
}

.wpc-button:hover,
.wpc-button:focus-visible {
    border-color: #232020;
    outline: 2px solid rgba(218, 47, 138, .35);
    outline-offset: 2px;
}

.wpc-button-primary {
    border-color: #961563;
    background: #961563;
    color: #fff;
}

.wpc-button-dark {
    border-color: #232020;
    background: #232020;
    color: #fff;
}

.wpc-overlay {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(20, 16, 18, .62);
}

.wpc-modal {
    width: min(680px, 100%);
    max-height: min(760px, calc(100vh - 40px));
    overflow: auto;
    background: #fff;
    border-radius: 7px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
    color: #232020;
}

.wpc-modal-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 26px 18px;
    border-bottom: 1px solid #eeeded;
}

.wpc-modal-head > div {
    min-width: 0;
}

.wpc-close {
    flex: none;
    width: 38px;
    height: 38px;
    margin-left: auto;
    display: grid;
    place-items: center;
    border: 1px solid #dddada;
    border-radius: 50%;
    background: #fff;
    color: #232020;
    cursor: pointer;
}

.wpc-close:focus-visible,
.wpc-settings-button:focus-visible {
    outline: 3px solid #DA2F8A;
    outline-offset: 3px;
}

.wpc-categories {
    padding: 8px 26px 0;
}

.wpc-category {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid #eeeded;
}

.wpc-category:last-child {
    border-bottom: 0;
}

.wpc-category strong {
    display: block;
    margin-bottom: 3px;
    color: #232020;
    font-size: 15px;
    line-height: 1.35;
}

.wpc-required {
    display: inline-block;
    color: #961563;
    font-size: 12px;
    font-weight: 700;
}

.wpc-switch {
    position: relative;
    width: 48px;
    height: 27px;
    flex: none;
}

.wpc-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.wpc-switch span {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: #d3d0d0;
    cursor: pointer;
    transition: background .18s;
}

.wpc-switch span::after {
    content: "";
    position: absolute;
    width: 21px;
    height: 21px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .24);
    transition: transform .18s;
}

.wpc-switch input:checked + span {
    background: #961563;
}

.wpc-switch input:checked + span::after {
    transform: translateX(21px);
}

.wpc-switch input:focus-visible + span {
    outline: 3px solid rgba(218, 47, 138, .45);
    outline-offset: 3px;
}

.wpc-switch input:disabled + span {
    cursor: default;
    opacity: .68;
}

.wpc-modal-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
    padding: 18px 26px 24px;
    border-top: 1px solid #eeeded;
    background: #faf9f9;
}

.wpc-settings-button {
    position: fixed;
    z-index: 10020;
    left: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: #961563;
    color: #fff;
    box-shadow: 0 9px 26px rgba(35, 32, 32, .28);
    cursor: pointer;
    font-size: 19px;
}

body.wpc-modal-open {
    overflow: hidden;
}

@media (max-width: 820px) {
    .wpc-banner-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wpc-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .wpc-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 18px;
    }

    .wpc-banner-copy h2,
    .wpc-modal h2 {
        font-size: 18px;
    }

    .wpc-actions,
    .wpc-modal-foot {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .wpc-button {
        width: 100%;
    }

    .wpc-overlay {
        padding: 10px;
    }

    .wpc-modal {
        max-height: calc(100vh - 20px);
    }

    .wpc-modal-head,
    .wpc-categories,
    .wpc-modal-foot {
        padding-left: 18px;
        padding-right: 18px;
    }

    .wpc-category {
        gap: 12px;
    }
}

