/*!************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[1].use[1]!./assets/css/v5/didomiConsent.css ***!
  \************************************************************************************************************************/
/* Social Embeds Consent Placeholders */

.social-embed-consent-wrapper {
    margin: 20px 0;
    position: relative;
}

/* Cacher les placeholders pendant 1 seconde au chargement */
.social-embed-consent-wrapper[data-consent-required="true"]:not(
        [data-initialized]
    ) {
    opacity: 0;
    pointer-events: none;
}

/* Transition fluide lors de l'apparition */
.social-embed-consent-wrapper[data-initialized] {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.social-embed-consent-wrapper[data-consent-given="true"]
    .social-embed-placeholder {
    display: none;
}

.social-embed-placeholder {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.social-embed-placeholder i {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 8px;
}

/* Platform-specific colors */
.social-embed-consent-wrapper[data-platform="facebook"]
    .social-embed-placeholder
    i {
    color: #1877f2;
}

.social-embed-consent-wrapper[data-platform="instagram"]
    .social-embed-placeholder
    i {
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-embed-consent-wrapper[data-platform="tiktok"]
    .social-embed-placeholder
    i {
    color: #000000;
}

.social-embed-consent-wrapper[data-platform="twitter"]
    .social-embed-placeholder
    i {
    color: #1da1f2;
}

.social-embed-consent-wrapper[data-platform="youtube"]
    .social-embed-placeholder
    i {
    color: #ff0000;
}

.social-embed-placeholder h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}

.social-embed-placeholder p {
    margin: 0;
    font-size: 0.95rem;
    color: #6c757d;
    max-width: 500px;
}

.social-embed-placeholder .consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.social-embed-placeholder button {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.social-embed-placeholder .consent-accept-btn {
    background-color: #007bff;
    color: white;
}

.social-embed-placeholder .consent-accept-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.social-embed-placeholder .consent-manage-btn {
    background-color: #6c757d;
    color: white;
}

.social-embed-placeholder .consent-manage-btn:hover {
    background-color: #5a6268;
}

/* Loading state */
.social-embed-consent-wrapper[data-loading="true"] .social-embed-placeholder {
    opacity: 0.6;
    pointer-events: none;
}

.social-embed-consent-wrapper[data-loading="true"]
    .social-embed-placeholder::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .social-embed-placeholder {
        padding: 30px 15px;
        min-height: 180px;
    }

    .social-embed-placeholder i {
        font-size: 36px;
    }

    .social-embed-placeholder h4 {
        font-size: 1.1rem;
    }

    .social-embed-placeholder p {
        font-size: 0.9rem;
    }

    .social-embed-placeholder .consent-buttons {
        flex-direction: column;
        width: 100%;
    }

    .social-embed-placeholder button {
        width: 100%;
    }
}

