.pdncl-hidden {
    display: none !important;
}

.pdncl-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.pdncl-banner[hidden],
.pdncl-reopen[hidden],
.pdncl-modal-backdrop[hidden] {
    display: none !important;
}

.pdncl-banner,
.pdncl-modal {
    box-sizing: border-box;
    font-family: inherit;
}

.pdncl-banner {
    position: fixed;
    bottom: 20px;
    z-index: 999999;
    width: min(560px, calc(100vw - 40px));
    background: #fff;
    color: #1d2327;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 14px;
    box-shadow: 0 14px 44px rgba(0,0,0,.18);
    padding: 18px;
}

.pdncl-banner--bottom-left {
    left: 20px;
}

.pdncl-banner--bottom-right {
    right: 20px;
}

.pdncl-banner--bottom-center {
    left: 50%;
    transform: translateX(-50%);
}

.pdncl-banner__title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.pdncl-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.pdncl-banner__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    max-width: 100%;
    margin-top: 12px;
    overflow-x: hidden;
}

.pdncl-banner__link {
    display: inline-block;
    max-width: 100%;
    color: #2563eb;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.pdncl-banner__link:hover,
.pdncl-banner__link:focus {
    color: #1d4ed8;
}

.pdncl-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.pdncl-button {
    appearance: none;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 9px 14px;
    background: #fff;
    color: #1d2327;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
}

.pdncl-button:hover {
    border-color: #8c959f;
}

.pdncl-button--primary {
    background: #1d2327;
    border-color: #1d2327;
    color: #fff;
}

.pdncl-button--primary:hover {
    background: #000;
    border-color: #000;
}

.pdncl-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    background: rgba(0,0,0,.42);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pdncl-modal {
    width: min(620px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #fff;
    color: #1d2327;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0,0,0,.24);
    padding: 20px;
}

.pdncl-modal h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

.pdncl-category {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
}

.pdncl-category__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.pdncl-category__title {
    font-weight: 700;
}

.pdncl-category__description {
    margin: 6px 0 0;
    color: #646970;
    font-size: 13px;
    line-height: 1.45;
}

.pdncl-toggle {
    position: relative;
    flex: 0 0 auto;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.pdncl-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pdncl-toggle__slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #c7c7c7;
    transition: .2s;
    border-radius: 26px;
}

.pdncl-toggle__slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: .2s;
}

.pdncl-toggle input:checked + .pdncl-toggle__slider {
    background: #1d2327;
}

.pdncl-toggle input:checked + .pdncl-toggle__slider:before {
    transform: translateX(22px);
}

.pdncl-toggle input:disabled + .pdncl-toggle__slider {
    opacity: .55;
    cursor: not-allowed;
}

.pdncl-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

@media (max-width: 600px) {
    .pdncl-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        padding: 14px;
        transform: none;
    }

    .pdncl-banner__actions,
    .pdncl-modal__actions {
        flex-direction: column;
    }

    .pdncl-button {
        width: 100%;
    }
}


.pdncl-reopen {
    position: fixed;
    z-index: 999998;
    bottom: 0;
    min-width: 96px;
    border: 1px solid rgba(0,0,0,.14);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: #1d2327;
    color: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.2);
    padding: 9px 16px 12px;
    font: inherit;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(30px);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pdncl-reopen:hover,
.pdncl-reopen:focus {
    transform: translateY(18px);
    box-shadow: 0 12px 32px rgba(0,0,0,.24);
}

.pdncl-reopen--bottom-left {
    left: 20px;
}

.pdncl-reopen--bottom-right {
    right: 20px;
}

.pdncl-reopen--bottom-center {
    left: 50%;
    transform: translate(-50%, 30px);
}

.pdncl-reopen--bottom-center:hover,
.pdncl-reopen--bottom-center:focus {
    transform: translate(-50%, 18px);
}

.pdncl-reopen__handle {
    display: block;
    white-space: nowrap;
}

.pdncl-video-placeholder {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 220px;
    background: linear-gradient(135deg, #111827, #243244);
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pdncl-video-placeholder__inner {
    max-width: 520px;
    text-align: center;
}

.pdncl-video-placeholder__icon {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    font-size: 28px;
    margin-bottom: 14px;
}

.pdncl-video-placeholder__title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.pdncl-video-placeholder p {
    margin: 0 auto 16px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.5;
}

.pdncl-video-placeholder__button {
    background: #fff;
    color: #1d2327;
    border-color: #fff;
}


.pdncl-video-placeholder.is-loading {
    position: relative;
    pointer-events: none;
    opacity: .92;
}

.pdncl-video-placeholder.is-loading .pdncl-video-placeholder__button {
    position: relative;
    padding-left: 38px;
}

.pdncl-video-placeholder.is-loading .pdncl-video-placeholder__button:before,
.pdncl-video-loader__spinner,
.pdncl-map-loader__spinner {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: pdncl-spin .7s linear infinite;
}

.pdncl-video-placeholder.is-loading .pdncl-video-placeholder__button:before {
    position: absolute;
    left: 14px;
    top: 50%;
    margin-top: -8px;
}

@keyframes pdncl-spin {
    to {
        transform: rotate(360deg);
    }
}


/* Video */

.pdncl-video-loaded {
    position: relative;
    margin-block: 20px;
    width: 100%;
}

.pdncl-video-loaded iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}

.pdncl-video-loaded.is-loading {
    min-height: 220px;
    background: #111827;
    border-radius: 12px;
    overflow: hidden;
}

.pdncl-video-loaded.is-loading iframe {
    opacity: 0;
}

.pdncl-video-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #111827, #243244);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

@supports not (aspect-ratio: 1) {
    .pdncl-video-loaded {
        position: relative;
        padding: 56.25% 0 0;
        height: 0;
        overflow: hidden;
    }

    .pdncl-video-loaded iframe {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 600px) {
    .pdncl-reopen--bottom-left,
    .pdncl-reopen--bottom-right {
        left: 16px;
        right: auto;
    }

    .pdncl-video-placeholder {
        min-height: 180px;
        padding: 18px;
    }
}


/* Maps */

[data-pdncl-map-wrap] {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-image: var(--pdncl-map-bg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

[data-pdncl-map-wrap]:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.75);
    outline-offset: -3px;
}

[data-pdncl-map-wrap] [data-object-location-map] {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

[data-pdncl-map-wrap].pdncl-map-visible {
    cursor: auto;
    background-image: none !important;
}

[data-pdncl-map-wrap].pdncl-map-visible [data-object-location-map] {
    opacity: 1;
    pointer-events: auto;
}

.pdncl-map-loader {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(17, 24, 39, .58);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
}

.pdncl-map-loader--error {
    background: rgba(127, 29, 29, .72);
}
