/* YouTube Consent Button Styles */
.yt-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 8px;
}

.yt-consent-content {
    text-align: center;
    padding: 30px;
    max-width: 400px;
}

.yt-consent-icon {
    width: 80px;
    height: 80px;
    fill: #ff0000;
    margin-bottom: 20px;
    opacity: 0.8;
}

.yt-consent-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.yt-consent-button {
    background: #ff0000;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.yt-consent-button:hover {
    background: #cc0000;
}

.yt-consent-button:active {
    transform: scale(0.98);
}

/* Make sure parent containers have position relative */
.yt-consent-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Handle different YouTube embed containers */
iframe[data-category*="marketing"][src*="youtube"],
iframe[data-category*="marketing"][src*="youtu.be"] {
    min-height: 315px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .yt-consent-content {
        padding: 20px;
    }
    
    .yt-consent-icon {
        width: 60px;
        height: 60px;
    }
    
    .yt-consent-text {
        font-size: 14px;
    }
    
    .yt-consent-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}