/**
 * Imagilire Studio - Styles pour les rappels d'export
 * Styles pour les notifications interactives de rappel d'export
 */

/* Notification interactive avec boutons d'action */
.interactive-notification {
    min-width: 400px;
    max-width: 500px;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.interactive-notification .notification-content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.interactive-notification .notification-content > i {
    font-size: 20px;
    margin-bottom: 4px;
}

.interactive-notification .notification-content > p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

/* Actions dans la notification */
.notification-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.notification-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.notification-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.notification-btn i {
    font-size: 11px;
}

/* Bouton de sauvegarde complète */
.export-doc-btn {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.export-doc-btn:hover {
    background: linear-gradient(135deg, #229954, #1e8449);
}

/* Bouton de report */
.dismiss-btn {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

.dismiss-btn:hover {
    background: linear-gradient(135deg, #7f8c8d, #6c7b7d);
}

/* Styles spécifiques par type de notification */
.interactive-notification.info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.1));
    border-left: 4px solid #3498db;
}

.interactive-notification.info .notification-content > i {
    color: #3498db;
}

.interactive-notification.warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(230, 126, 34, 0.1));
    border-left: 4px solid #f39c12;
}

.interactive-notification.warning .notification-content > i {
    color: #f39c12;
}

.interactive-notification.success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.1));
    border-left: 4px solid #2ecc71;
}

.interactive-notification.success .notification-content > i {
    color: #2ecc71;
}

/* Bouton de fermeture pour les notifications interactives */
.interactive-notification .close-notification {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.8);
}

.interactive-notification .close-notification:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: scale(1.1);
}

/* Animation d'entrée améliorée pour les notifications interactives */
.interactive-notification {
    transform: translateX(100%) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.interactive-notification.active {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .interactive-notification {
        min-width: 300px;
        max-width: calc(100vw - 40px);
        margin: 0 10px;
    }
    
    .notification-actions {
        flex-direction: column;
        gap: 6px;
    }
    
    .notification-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .interactive-notification .notification-content {
        padding: 14px 16px;
    }
}

/* Animation de pulsation pour attirer l'attention */
@keyframes gentle-pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    }
    50% {
        box-shadow: 0 8px 32px rgba(52, 152, 219, 0.2);
    }
}

/* Animation de pulsation pour les boutons dans les paramètres */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

.interactive-notification.info.active {
    animation: gentle-pulse 3s ease-in-out infinite;
}

/* Effet de survol sur toute la notification */
.interactive-notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Styles pour les icônes dans les boutons */
.notification-btn .fas {
    flex-shrink: 0;
}

/* Amélioration du contraste pour l'accessibilité */
@media (prefers-contrast: high) {
    .interactive-notification {
        border-width: 2px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
    
    .notification-btn {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

/* Support pour le mode sombre */
@media (prefers-color-scheme: dark) {
    .interactive-notification {
        background: linear-gradient(135deg, rgba(45, 55, 72, 0.95), rgba(55, 65, 81, 0.95));
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #e2e8f0;
    }
    
    .interactive-notification .close-notification {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
    }
    
    .interactive-notification .close-notification:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }
}
