/* Vehicle Details Carousel Styles */
.vehicle-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

/* Main Carousel */
#vehicleImageCarousel {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#vehicleImageCarousel .carousel-item {
    height: 400px; /* Fixed height for consistency */
    background-color: #f8f9fa;
}

#vehicleImageCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Maintain aspect ratio */
    background-color: #fff;
}

/* Carousel Controls */
#vehicleImageCarousel .carousel-control-prev,
#vehicleImageCarousel .carousel-control-next {
    width: 10%;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.3);
}

#vehicleImageCarousel .carousel-control-prev:hover,
#vehicleImageCarousel .carousel-control-next:hover {
    opacity: 1;
}

/* Thumbnails Container */
#carousel-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* Thumbnails Scrollbar */
#carousel-thumbnails::-webkit-scrollbar {
    height: 6px;
}

#carousel-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#carousel-thumbnails::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#carousel-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Individual Thumbnail */
.carousel-thumbnail {
    flex: 0 0 auto;
    width: 80px;
    height: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.carousel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.carousel-thumbnail:hover {
    border-color: #007bff;
}

.carousel-thumbnail.active {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Vehicle Info Card */
.vehicle-info-card {
    margin-top: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vehicle-info-card .row {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.vehicle-info-card .row:last-child {
    border-bottom: none;
}

.vehicle-info-card i {
    color: #007bff;
    width: 20px;
    text-align: center;
} 