/* ==========================================================================
   STYLES POUR L'AVERTISSEMENT DE DROITS D'AUTEUR
   ========================================================================== */

/* Emoji d'avertissement dans le header */
.copyright-warning-trigger {
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
    vertical-align: middle;
    z-index: 1000;
}

.copyright-warning-trigger:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Simple styling for warning emoji */
.copyright-warning-trigger {
    cursor: pointer;
}

.copyright-warning-trigger:hover {
    opacity: 0.8;
}

/* Overlay du popup */
.copyright-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
}

/* Contenu du popup */
.copyright-warning-content {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Bouton de fermeture */
.copyright-warning-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    z-index: 10;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.copyright-warning-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* Message d'avertissement */
.copyright-warning-message {
    padding: 50px 30px 30px 30px;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.copyright-warning-message p {
    margin: 0 0 15px 0;
    text-align: justify;
}

.copyright-warning-message p:first-child {
    font-size: 18px;
    margin-bottom: 20px;
}

.copyright-warning-message p:last-child {
    margin-bottom: 0;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    color: #d32f2f;
}

.copyright-warning-message strong {
    color: #d32f2f;
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
    .copyright-warning-overlay {
        padding: 10px;
    }
    
    .copyright-warning-content {
        max-width: 95%;
        border-radius: 8px;
    }
    
    .copyright-warning-message {
        padding: 40px 20px 20px 20px;
        font-size: 14px;
    }
    
    .copyright-warning-message p:first-child {
        font-size: 16px;
    }
    
    .copyright-warning-close {
        top: 10px;
        right: 15px;
        font-size: 24px;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .copyright-warning-message {
        padding: 35px 15px 15px 15px;
        font-size: 13px;
    }
    
    .copyright-warning-trigger {
        font-size: 16px;
        margin-left: 5px;
    }
}