/* Accordion animations */
.accordion-btn svg {
    transition: transform 0.2s ease-in-out;
}

.accordion-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.accordion-content {
    transition: all 0.2s ease-in-out;
}

/* Progress bar animation */
@keyframes progress {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

#progress {
    background-size: 50px 50px;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    animation: progress 1s linear infinite;
}

/* File drop animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.drag-active {
    animation: pulse 1s ease-in-out infinite;
    border-color: #60A5FA;
    background-color: #EFF6FF;
}

#result {
    padding-top: 2.5rem; /* To prevent text from being hidden behind the copy button */
}
