/* vehicle_info css */
#vehicle-details {
    padding: 40px 0;
    text-align: center;
}
.thumbnail-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Space between thumbnails */
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #eee;
    background-color: #f9f9f9;
    border-radius: 8px;
}
.thumbnail-item {
    cursor: pointer;
    border: 2px solid transparent;
    padding: 5px;
    transition: border-color 0.3s ease;
    text-align: center;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.thumbnail-item img {
    display: block;
    max-width: 80px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 5px;
}
.thumbnail-item span {
    font-size: 0.8em;
    color: #555;
}
.thumbnail-item.active {
    border-color: #007bff; /* Highlight color for active item */
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}
.vehicle-display-area {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 20px;
    padding: 20px;
    border-top: 1px solid #eee;
}
#main-vehicle-image {
    max-width: 100%;
    height: auto;
    max-height: 350px; /* Limit image height */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-basis: 45%; /* Approx width */
    object-fit: contain;
    margin-top: 50px; /* 위쪽 여백을 추가하여 아래로 조금 이동 */
}
#vehicle-specs-display {
    flex-basis: 45%; /* Approx width */
    text-align: left;
}
#vehicle-specs-display h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    display: inline-block;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table th, .specs-table td {
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 0.95em;
}
.specs-table th {
    background-color: #007bff; /* Header background */
    color: white; /* Header text color */
    font-weight: bold;
    text-align: center;
}
 .specs-table td {
     background-color: #f9f9f9;
     text-align: center;
 }

/* Responsive adjustments */
@media (max-width: 768px) {
    .vehicle-display-area {
        flex-direction: column;
        align-items: center;
    }
    #main-vehicle-image, #vehicle-specs-display {
         flex-basis: 90%; /* Take more width on smaller screens */
     }
    #vehicle-specs-display {
         margin-top: 20px;
     }
}