/* Vehicle Price Display Styles */
.vehicle-price {
    font-size: 18px;
    font-weight: bold;
    color: #2c5282;
    margin-left: 10px;
    display: inline-block;
}

.vehicle-price.success {
    color: #2c5282;
}

.vehicle-price.error {
    color: #e53e3e;
    font-size: 14px;
    background: #fed7d7;
    padding: 5px;
    border-radius: 4px;
}

.car-container.loading {
    opacity: 0.6;
    position: relative;
}

.car-container.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2c5282;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Highlight vehicles with prices */
.car-container[data-price]:not([data-price="0"]) {
    border-color: #2c5282;
    box-shadow: 0 2px 8px rgba(44, 82, 130, 0.1);
}

/* Show price in vehicle selection */
.car-container .vehicle-price {
    display: inline-block;
    padding: 2px 8px;
    background: #e6f2ff;
    border-radius: 4px;
    margin-left: 10px;
    font-size: 18px;
    vertical-align: middle;
}

/* Ensure car-name and vehicle-price are on same line */
.car-container .car-name {
    display: inline-block;
    vertical-align: middle;
}