/* www.aqvaeris.eu/css/personalization.css */
/* User Personalization Module Styles */

/* Highlight animation for source-based personalization */
.source-highlight {
    animation: highlight-pulse 2s ease-in-out;
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
}

@keyframes highlight-pulse {
    0%, 100% { background-color: transparent; }
    50% { background-color: rgba(59, 130, 246, 0.1); }
}

/* Reduced motion for slow connections or user preference */
.reduce-motion * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
}

/* Touch-optimized carousel for mobile devices */
.touch-optimized {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Welcome back message animation */
.welcome-back {
    animation: slideDown 0.3s ease-out;
}

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

/* What's New section (hidden by default, shown for returning visitors) */
#whats-new.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

/* Country badge styling */
.country-badge {
    display: inline-block;
}

/* Special offer banner animation */
.special-offer {
    animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Consent banner styling */
#consent-banner {
    font-family: 'Inter', sans-serif;
}

#consent-banner button {
    cursor: pointer;
    transition: all 0.2s ease;
}

#consent-banner button:hover {
    transform: translateY(-1px);
}

/* Highlighted content sections */
.highlighted {
    border: 2px solid #3b82f6;
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .country-badge {
        font-size: 0.7rem;
    }
    
    .special-offer {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        text-align: center;
    }
}