/**
 * TMDB Consent System Styles
 * DSGVO-konformes Consent für externe Bilder
 */

.wg-consent-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.wg-consent-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.wg-consent-overlay {
    text-align: center;
    padding: 30px;
    color: white;
}

.wg-consent-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wg-consent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.wg-consent-btn:active {
    transform: translateY(0);
}

.wg-consent-tmdb-link {
    color: white;
    text-decoration: underline;
    font-size: 12px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.wg-consent-tmdb-link:hover {
    opacity: 1;
}

/* Image Loading Animation */
.wg-consent-image-loading {
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Consent Status Badge (optional) */
.wg-consent-status {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wg-consent-status:hover {
    transform: translateY(-2px);
}

.wg-consent-status.revoked {
    background: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .wg-consent-placeholder {
        min-height: 250px;
    }

    .wg-consent-overlay {
        padding: 20px;
    }

    .wg-consent-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}
