/* Fade-and-rise entrance for the cards */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeInUp 0.6s ease-out both;
}

.card:nth-of-type(1) { animation-delay: 0.05s; }
.card:nth-of-type(2) { animation-delay: 0.15s; }

/* Gentle pulse on the title icon badges */
@keyframes softPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.icon-badge:hover {
    animation: softPulse 0.6s ease-in-out;
}

/* Spinner for loading states */
.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Dropzone active state feels a bit springier than a plain color swap */
.dropzone {
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.15s ease;
}

.dropzone.dragging {
    transform: scale(1.015);
}

/* Status text fades in when it changes */
.status-text {
    transition: opacity 0.3s ease;
}
:root {
    color-scheme: dark;
}
