.bcb-cookie-banner,
.bcb-modal,
.bcb-embed-block {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.bcb-cookie-banner *,
.bcb-modal *,
.bcb-embed-block * {
    box-sizing: border-box;
}

.bcb-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    z-index: 999999;
    background: var(--bcb-bg, #111827);
    color: var(--bcb-text, #ffffff);
    border-radius: 14px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .28);
    padding: 16px;
    max-width: 1120px;
    margin: 0 auto;
}

.bcb-cookie-banner.bcb-bottom {
    bottom: 16px;
}

.bcb-cookie-banner.bcb-top {
    top: 16px;
}

.bcb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bcb-text {
    font-size: 14px;
    line-height: 1.55;
}

.bcb-text p {
    margin: 0 0 6px;
}

.bcb-policy-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

.bcb-actions,
.bcb-modal-actions,
.bcb-embed-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.bcb-btn {
    border: 0;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    transition: transform .15s ease, opacity .15s ease, background .15s ease;
    white-space: nowrap;
}

.bcb-btn:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.bcb-btn-primary {
    background: var(--bcb-button, #dc2626);
    color: var(--bcb-button-text, #ffffff);
}

.bcb-btn-outline {
    background: rgba(255, 255, 255, .12);
    color: var(--bcb-text, #ffffff);
    border: 1px solid rgba(255, 255, 255, .35);
}

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

.bcb-modal-box {
    position: relative;
    width: min(560px, 100%);
    background: #ffffff;
    color: #111827;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
}

.bcb-modal-box h2 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.bcb-modal-box p {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.bcb-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: #111827;
}

.bcb-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #e5e7eb;
}

.bcb-toggle-row strong {
    display: block;
    font-size: 15px;
    color: #111827;
}

.bcb-toggle-row small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #6b7280;
}

.bcb-toggle-row input[type="checkbox"] {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.bcb-modal-actions {
    margin-top: 18px;
}

.bcb-modal .bcb-btn-outline {
    background: #f3f4f6;
    color: #111827;
    border-color: #d1d5db;
}

.bcb-embed-block {
    margin: 18px 0;
    min-height: 220px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}

.bcb-embed-icon {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    background: var(--bcb-button, #dc2626);
    color: var(--bcb-button-text, #ffffff);
    font-size: 24px;
    font-weight: 800;
}

.bcb-embed-content {
    max-width: 680px;
}

.bcb-embed-content strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.25;
    color: #ffffff;
}

.bcb-embed-content p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .88);
}

.bcb-embed-block .bcb-btn-outline {
    color: #ffffff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .35);
}

@media (max-width: 768px) {
    .bcb-cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 14px;
        border-radius: 12px;
    }

    .bcb-inner {
        display: block;
    }

    .bcb-actions {
        margin-top: 12px;
        justify-content: stretch;
    }

    .bcb-actions .bcb-btn,
    .bcb-modal-actions .bcb-btn,
    .bcb-embed-actions .bcb-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .bcb-text {
        font-size: 13px;
    }

    .bcb-modal-box {
        padding: 20px;
    }

    .bcb-embed-block {
        display: block;
        text-align: center;
        padding: 20px;
        min-height: 200px;
    }

    .bcb-embed-icon {
        margin: 0 auto 14px;
    }

    .bcb-embed-actions {
        justify-content: stretch;
    }
}
