/* Minimal custom styles - Tailwind CSS handles most styling */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-in;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.training-active {
    animation: pulse 2s ease-in-out infinite;
}

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

/* Loading Spinner */
.spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
}

/* Drag over state for upload area */
.drag-over {
    border-color: #667eea !important;
    background-color: #e6edff !important;
    transform: scale(1.02);
}

/* Model card selected state */
.model-card.selected {
    border-color: #667eea !important;
    background: linear-gradient(135deg, #e6edff 0%, #ffffff 100%) !important;
}

/* Data preview active state */
#dataPreview.active {
    border: 2px solid #48bb78;
}

/* Prediction result active state */
#predictionResult.active {
    animation: fadeIn 0.5s ease-in;
}

/* Progress fill transition */
.progress-fill {
    transition: width 0.3s ease;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* Modal styles */
.modal-overlay {
    backdrop-filter: blur(4px);
}

/* Code block styling */
pre code {
    display: block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Print styles */
@media print {
    body {
        background: white !important;
    }
    
    header, footer {
        background: white !important;
    }
}
