.pb-meta-consent[hidden],
.pb-meta-consent__panel[hidden],
.pb-meta-consent-manage[hidden] {
    display: none !important;
}

.pb-meta-consent,
.pb-meta-consent * {
    box-sizing: border-box;
}

.pb-meta-consent {
    position: fixed;
    z-index: 2147483000;
    right: 16px;
    bottom: 18px;
    left: 16px;
    width: min(480px, calc(100% - 32px));
    max-height: calc(100vh - 36px);
    margin: 0 auto;
    overflow-y: auto;
    border: 1px solid rgba(23, 23, 23, .12);
    border-radius: 24px;
    background: #fff;
    color: #202020;
    box-shadow: 0 22px 65px rgba(0, 0, 0, .28);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.52;
    -webkit-font-smoothing: antialiased;
}

.pb-meta-consent__panel {
    position: relative;
    padding: 26px;
}

.pb-meta-consent__copy strong {
    display: block;
    margin: 0 0 9px;
    color: #202020;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.18;
}

.pb-meta-consent__copy p,
.pb-meta-consent__category p {
    margin: 0;
    color: #454545;
}

.pb-meta-consent__copy a {
    color: #202020;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pb-meta-consent__actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.pb-meta-consent__actions--intro {
    grid-template-columns: 1fr 1fr;
}

.pb-meta-consent__actions--preferences {
    grid-template-columns: 1fr 1fr;
}

.pb-meta-consent__button,
.pb-meta-consent__back,
.pb-meta-consent-manage {
    appearance: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.pb-meta-consent__button {
    min-height: 50px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.pb-meta-consent__button:hover {
    transform: translateY(-1px);
}

.pb-meta-consent__button--primary {
    border-color: #0aa28e;
    background: #0db7a0;
    color: #fff;
    box-shadow: 0 8px 18px rgba(13, 183, 160, .24);
}

.pb-meta-consent__button--primary:hover {
    border-color: #078c7b;
    background: #0aa28e;
}

.pb-meta-consent__button--secondary {
    border-color: #dedede;
    background: #e8e8e8;
    color: #202020;
}

.pb-meta-consent__button--secondary:hover {
    border-color: #d0d0d0;
    background: #dcdcdc;
}

.pb-meta-consent__button:focus-visible,
.pb-meta-consent__back:focus-visible,
.pb-meta-consent-manage:focus-visible,
.pb-meta-consent__switch input:focus-visible + span {
    outline: 3px solid rgba(13, 183, 160, .4);
    outline-offset: 3px;
}

.pb-meta-consent__back {
    width: 36px;
    height: 36px;
    margin: -5px 0 13px;
    border: 1px solid #dedede;
    border-radius: 50%;
    background: #f4f4f4;
    color: #202020;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}

.pb-meta-consent__categories {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.pb-meta-consent__category {
    display: flex;
    min-width: 0;
    padding: 15px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid #e4e4e4;
    border-radius: 13px;
    background: #fafafa;
}

label.pb-meta-consent__category {
    cursor: pointer;
}

.pb-meta-consent__category > div {
    min-width: 0;
}

.pb-meta-consent__category strong {
    display: block;
    margin-bottom: 3px;
    color: #202020;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.pb-meta-consent__category p {
    font-size: 12.5px;
    line-height: 1.4;
}

.pb-meta-consent__always-on {
    flex: 0 0 auto;
    color: #078c7b;
    font-size: 11px;
    font-weight: 800;
    text-align: right;
}

.pb-meta-consent__switch {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 46px;
    height: 27px;
}

.pb-meta-consent__switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.pb-meta-consent__switch span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #c9c9c9;
    transition: background-color .18s ease;
}

.pb-meta-consent__switch span::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
    content: '';
    transition: transform .18s ease;
}

.pb-meta-consent__switch input:checked + span {
    background: #0db7a0;
}

.pb-meta-consent__switch input:checked + span::after {
    transform: translateX(19px);
}

.pb-meta-consent-manage {
    position: static;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    font: inherit;
    text-align: left;
}

@media (max-width: 560px) {
    .pb-meta-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 20px;
    }

    .pb-meta-consent__panel {
        padding: 21px;
    }

    .pb-meta-consent__copy strong {
        font-size: 22px;
    }

    .pb-meta-consent__actions--intro,
    .pb-meta-consent__actions--preferences {
        grid-template-columns: 1fr;
    }

    .pb-meta-consent__category {
        padding: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pb-meta-consent__button,
    .pb-meta-consent__switch span,
    .pb-meta-consent__switch span::after {
        transition: none;
    }
}
