/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Image hover effects */
.tweet-image {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tweet-image:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* Responsive adjustments */
@media (max-width: 640px) {
    #imageGrid {
        gap: 0.5rem;
    }
}

/* Error message styling */
.error-message {
    color: #ef4444;
    background-color: #fee2e2;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    text-align: center;
    border-left: 4px solid #ef4444;
    animation: fadeIn 0.3s ease-out;
}

.error-message i {
    width: 20px;
    height: 20px;
}
