@keyframes slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slide-up 0.3s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fade-in 0.3s ease-out;
}



.trip-route-hover-label {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    white-space: nowrap;
}

.trip-map-highlight {
    box-shadow: 0 0 0 2px #2d5f3f, 0 0 0 4px rgba(45, 95, 63, 0.2);
    border-radius: 0.5rem;
    transition: box-shadow 0.3s ease;
}

@media (min-width: 1024px) {
    #tripMapDesktop {
        height: var(--desktop-map-h);
    }
}

@media (max-width: 1023px) {
    #tripMapMobile {
        transition: height 0.3s ease;
    }

    #tripMapMobile.trip-map-expanded {
        height: 70vh;
    }
}

.trip-carousel-slide {
    width: calc(90% - 8px);
    min-width: calc(90% - 8px);
}

@media (min-width: 768px) {
    .trip-carousel-slide {
        width: calc(100% - 48px);
        min-width: calc(100% - 48px);
    }
}

.trip-carousel-track {
    will-change: transform;
    touch-action: pan-y;
}

.trip-carousel-track.dragging {
    transition: none;
}
