/* Custom animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Additional styles for the drop zone */
#drop-zone.highlight {
    border-color: #6366f1;
    background-color: rgba(99, 102, 241, 0.1);
    animation: pulse 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    #preview-container .flex-col {
        gap: 1rem;
    }
}

/* Dark mode transitions */
body, button, input, select, textarea {
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
/* Age verification modal */
#age-modal {
    backdrop-filter: blur(5px);
}
#age-modal.hidden {
    display: none;
}

/* AI Processing styles */
#ai-disclaimer {
    animation: slideIn 0.5s ease-out;
}

/* Download button */
#download-btn {
    transition: transform 0.2s ease;
}
#download-btn:hover {
    transform: translateY(-2px);
}
@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.dark ::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.dark ::-webkit-scrollbar-thumb {
    background: #555;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #777;
}