/* Custom styles beyond Tailwind */

/* Toast animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.toast {
    animation: slideUp 0.3s ease-out;
}

/* Drop zone hover effects */
.drop-zone-active {
    border-color: #6366f1;
    background-color: #eef2ff;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* File list item hover */
.file-item:hover {
    background-color: #f8fafc;
}

/* Progress bar animation */
.progress-bar-animated {
    transition: width 0.3s ease;
}

/* Card hover effects */
.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Mobile bottom nav active state */
.mobile-nav-item.active {
    color: #6366f1;
}

/* Table responsive */
@media (max-width: 640px) {
    table {
        font-size: 12px;
    }
    table td, table th {
        padding: 8px 12px;
    }
}

/* Modal overlay */
.modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Upload progress */
.upload-progress {
    transition: width 0.5s ease;
}

/* Empty state illustrations */
.empty-state {
    opacity: 0.6;
}

/* Version tag */
.version-tag {
    font-family: monospace;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}