/* WSU Data Mapping Validator - Custom Styles */
/* Most styling is handled by Tailwind CSS */

/* Join Preview: hide role mapping */
#column-checkboxes.join-preview-mode .role-col {
    display: none;
}
#column-checkboxes.join-preview-mode .grid.grid-cols-4 {
    grid-template-columns: 1fr auto auto;
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #981e32;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7a1828;
}

/* Animate checkmarks */
@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.checkmark-animate {
    animation: checkmark 0.4s ease;
}

/* Loading spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Fade in animation for results */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#results {
    animation: fadeIn 0.6s ease;
}

/* Hover effect for file upload cards */
.border-dashed:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Button hover effects */
button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

button:active {
    transform: translateY(0);
}

/* Print styles */
@media print {
    header, footer, button, #loading {
        display: none;
    }
}
