.cmg-cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}

.cmg-cookie-banner.cmg-visible {
    display: block;
}

.cmg-cookie-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.cmg-cookie-banner__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.cmg-cookie-banner__title {
    margin: 0 0 15px;
    font-size: 24px;
    font-weight: 600;
}

.cmg-cookie-banner__description {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
}

.cmg-cookie-banner__categories {
    margin-bottom: 20px;
}

.cmg-cookie-category {
    margin-bottom: 15px;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.cmg-cookie-category__label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 5px;
}

.cmg-cookie-category__checkbox {
    margin-right: 10px;
}

.cmg-cookie-category__checkbox:disabled {
    cursor: not-allowed;
}

.cmg-cookie-category__name {
    font-size: 16px;
}

.cmg-cookie-category__description {
    margin: 5px 0 0 30px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.cmg-cookie-banner__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cmg-cookie-banner__button {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cmg-cookie-banner__button:hover {
    opacity: 0.9;
}

.cmg-cookie-banner__button:active {
    opacity: 0.8;
}

.cmg-floating-badge {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cmg-floating-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cmg-floating-badge__icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.cmg-blocked-content {
    position: relative;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cmg-blocked-content[data-cmg-type="video"] {
    aspect-ratio: 16 / 9;
}

.brxe-video.cmg-has-blocked-content {
    padding-top: 0 !important;
}

.cmg-blocked-content__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.cmg-blocked-content__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
}

.cmg-blocked-content__description {
    font-size: 14px;
    margin: 0 0 15px;
    max-width: 400px;
}

.cmg-blocked-content__button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cmg-blocked-content__button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .cmg-cookie-banner__content {
        padding: 20px;
        max-width: 95%;
    }
    
    .cmg-cookie-banner__title {
        font-size: 20px;
    }
    
    .cmg-cookie-banner__buttons {
        flex-direction: column;
    }
    
    .cmg-cookie-banner__button {
        width: 100%;
    }
    
    .cmg-floating-badge {
        width: 50px;
        height: 50px;
        bottom: 15px;
        left: 15px;
    }
    
    .cmg-floating-badge__icon {
        width: 28px;
        height: 28px;
    }
}

iframe[data-cmg-blocked] {
    display: none !important;
}
