.lde-cookie-banner,
.lde-cookie-modal {
    font-family: "Karla", Arial, sans-serif;
    color: #252525;
}

.lde-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10050;
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(16, 12, 40, 0.22);
    padding: 22px 24px;
    display: none;
}

.lde-cookie-banner.is-open,
.lde-cookie-modal.is-open {
    display: block;
}

.lde-cookie-banner h3,
.lde-cookie-modal h3 {
    font-size: 20px;
    margin: 0 0 8px;
    color: #492498;
    font-weight: 700;
}

.lde-cookie-banner p,
.lde-cookie-modal p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px;
}

.lde-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lde-cookie-btn {
    border: 0;
    border-radius: 32px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.2;
}

.lde-cookie-btn-accept {
    background: #492498;
    color: #fff;
}

.lde-cookie-btn-reject {
    background: #f3f0f8;
    color: #492498;
}

.lde-cookie-btn-prefs {
    background: transparent;
    color: #492498;
    border: 1px solid #492498;
}

.lde-cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 19, 59, 0.45);
    z-index: 10060;
    display: none;
}

.lde-cookie-overlay.is-open {
    display: block;
}

.lde-cookie-modal {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10070;
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(16, 12, 40, 0.22);
    padding: 24px;
    display: none;
    max-height: calc(100vh - 32px);
    overflow: auto;
}

.lde-cookie-choice {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #eee;
}

.lde-cookie-choice h4 {
    margin: 0 0 4px;
    font-size: 15px;
}

.lde-cookie-choice p {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.lde-cookie-switch {
    position: relative;
    width: 46px;
    height: 26px;
    flex: 0 0 46px;
}

.lde-cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lde-cookie-switch span {
    position: absolute;
    inset: 0;
    background: #d6d0e3;
    border-radius: 26px;
    cursor: pointer;
}

.lde-cookie-switch span:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
}

.lde-cookie-switch input:checked + span {
    background: #492498;
}

.lde-cookie-switch input:checked + span:before {
    transform: translateX(20px);
}

.lde-cookie-switch input:disabled + span {
    background: #9d8ac4;
    cursor: not-allowed;
}

.lde-cookie-manage {
    display: none;
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 10040;
    background: #492498;
    color: #fff;
    border: 0;
    border-radius: 32px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(73, 36, 152, 0.28);
}

.cookie-gated-embed {
    position: relative;
    min-height: 320px;
    background: #f4f1fa;
}

.cookie-gated-embed iframe {
    width: 100%;
    height: 450px;
    display: none;
}

.cookie-gated-embed.is-allowed iframe {
    display: block;
}

.cookie-gated-placeholder {
    display: none;
    padding: 40px 20px;
    text-align: center;
}

.cookie-gated-embed:not(.is-allowed) .cookie-gated-placeholder {
    display: block;
}

@media (max-width: 767px) {
    .lde-cookie-banner,
    .lde-cookie-modal {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 18px 16px;
    }

    .lde-cookie-actions {
        flex-direction: column;
    }

    .lde-cookie-btn {
        width: 100%;
    }
}
