/* Custom styling for PlantScan */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar for a premium feel */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

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

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

/* Modal animations */
.modal-active {
    display: flex !important;
}

.modal-active > div {
    opacity: 1;
    transform: scale(1);
}

.modal-inactive > div {
    opacity: 0;
    transform: scale(0.95);
}

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

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Results hover effect */
.result-item {
    transition: all 0.2s ease;
}

.result-item:hover {
    background-color: #f0fdf4;
    transform: translateX(4px);
    border-color: #86efac;
}
