.bcu-cookie-modal-open {
    overflow: hidden;
}

.bcu-cookie-launcher {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #0d62c8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99991;
    transition: transform .2s ease, box-shadow .2s ease;
}

.bcu-cookie-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.bcu-cookie-launcher img {
    width: 34px;
    height: 34px;
    display: block;
}

.bcu-cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    z-index: 99992;
}

.bcu-cookie-modal {
    position: fixed;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 848px);
    max-height: min(88vh, 760px);
    z-index: 99993;
}

.bcu-cookie-modal-inner {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    max-height: inherit;
}

.bcu-cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 18px;
    border-bottom: 1px solid #e7e7e7;
}

.bcu-cookie-modal-header h2 {
    margin: 0;
    color: #2d2d2d;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

.bcu-cookie-close {
    border: 0;
    background: transparent;
    color: #8490a0;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.bcu-cookie-close:hover {
    color: #41556b;
}

.bcu-cookie-modal-body {
    padding: 16px 24px 0;
    overflow: auto;
}

.bcu-cookie-intro {
    color: #3e3e3e;
    font-size: 15px;
    line-height: 1.65;
    border-bottom: 1px solid #ececec;
    padding-bottom: 8px;
}

.bcu-cookie-intro p {
    margin: 0 0 14px;
}

.bcu-cookie-intro[data-collapsed="1"] .bcu-cookie-intro-full {
    display: none;
}

.bcu-cookie-intro[data-collapsed="0"] .bcu-cookie-intro-short {
    display: none;
}

.bcu-cookie-toggle-intro {
    background: transparent;
    border: 0;
    color: #1f68d9;
    padding: 0;
    margin: 2px 0 10px;
    font-size: 15px;
    cursor: pointer;
}

.bcu-cookie-toggle-intro:hover {
    text-decoration: underline;
}

.bcu-cookie-accordion {
    padding: 0;
}

.bcu-cookie-accordion-item {
    border-bottom: 1px solid #ececec;
}

.bcu-cookie-accordion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    cursor: pointer;
}

.bcu-cookie-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.bcu-cookie-head-left h3 {
    margin: 0;
    color: #202020;
    font-size: 18px;
    font-weight: 700;
}

.bcu-cookie-arrow {
    position: relative;
    width: 10px;
    height: 10px;
    display: inline-block;
    flex: 0 0 10px;
}

.bcu-cookie-arrow::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 1px;
    width: 6px;
    height: 6px;
    border-right: 1.8px solid #3f3f3f;
    border-bottom: 1.8px solid #3f3f3f;
    transform: rotate(-45deg);
    transition: transform .18s ease;
}

.bcu-cookie-accordion-head[aria-expanded="true"] .bcu-cookie-arrow::before {
    transform: rotate(45deg);
    top: 0;
}

.bcu-cookie-always-active {
    color: #188b27;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.bcu-cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.bcu-cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.bcu-cookie-slider {
    position: absolute;
    inset: 0;
    background: #d1d4d4;
    border-radius: 50px;
    transition: .18s ease;
}

.bcu-cookie-slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 1px;
    top: 1px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,.16);
    transition: .18s ease;
}

.bcu-cookie-switch input:checked + .bcu-cookie-slider {
    background: #1f68d9;
}

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

.bcu-cookie-accordion-panel {
    padding: 0 0 18px;
}

.bcu-cookie-category-desc {
    margin: 0 0 16px;
    color: #3b3b3b;
    font-size: 15px;
    line-height: 1.65;
}

.bcu-cookie-entry {
    background: #f4f4f4;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0 0 14px;
}

.bcu-cookie-entry-grid {
    display: grid;
    grid-template-columns: 96px 1fr;
    column-gap: 18px;
    row-gap: 8px;
}

.bcu-cookie-entry-label {
    color: #3c3c3c;
    font-weight: 700;
    font-size: 14px;
}

.bcu-cookie-entry-value {
    color: #3c3c3c;
    font-size: 14px;
    line-height: 1.6;
}

.bcu-cookie-empty,
.bcu-cookie-iframe-placeholder {
    background: #f4f4f4;
    border-radius: 8px;
    padding: 14px 16px;
    color: #5b5b5b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.bcu-cookie-iframe-placeholder button,
.bcu-open-cookie-modal-inline {
    border: 1px solid #1f68d9;
    background: #fff;
    color: #1f68d9;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
}

.bcu-cookie-iframe-placeholder button:hover,
.bcu-open-cookie-modal-inline:hover {
    background: #f6f9ff;
}

.bcu-cookie-modal-footer {
    padding: 14px 24px 18px;
    border-top: 1px solid #ececec;
    background: #fff;
}

.bcu-cookie-footer-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.bcu-cookie-btn {
    min-height: 44px;
    padding: 11px 14px;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: .15s ease;
    border: 2px solid #1f68d9;
}

.bcu-cookie-btn-secondary {
    background: #fff;
    color: #1f68d9;
}

.bcu-cookie-btn-secondary:hover {
    background: #f6f9ff;
}

.bcu-cookie-btn-primary {
    background: #1f68d9;
    color: #fff;
}

.bcu-cookie-btn-primary:hover {
    filter: brightness(.96);
}

.bcu-cookie-powered {
    margin-top: 14px;
    text-align: center;
    color: #737373;
    font-size: 14px;
}

@media (max-width: 860px) {
    .bcu-cookie-modal {
        width: min(96vw, 848px);
        max-height: 90vh;
    }
}

@media (max-width: 640px) {
    .bcu-cookie-modal {
        inset: auto 12px 12px 12px;
        transform: none;
        width: auto;
        max-height: calc(100vh - 24px);
    }

    .bcu-cookie-modal-header,
    .bcu-cookie-modal-body,
    .bcu-cookie-modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bcu-cookie-footer-buttons {
        grid-template-columns: 1fr;
    }

    .bcu-cookie-head-left h3 {
        font-size: 17px;
    }

    .bcu-cookie-entry-grid {
        grid-template-columns: 1fr;
        row-gap: 4px;
    }

    .bcu-cookie-entry-label {
        margin-top: 6px;
    }

    .bcu-cookie-always-active {
        font-size: 13px;
    }

    .bcu-cookie-launcher {
        width: 50px;
        height: 50px;
        left: 14px;
        bottom: 14px;
    }

    .bcu-cookie-launcher img {
        width: 30px;
        height: 30px;
    }
}
