/* Estilos para el widget de campos de vehículo */
.vehiculo-fields-widget {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.vehiculo-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #8E44AD;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Estilos para diseño grid */
.vehiculo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

/* Estilos para diseño lista */
.vehiculo-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vehiculo-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    align-items: center;
}

.vehiculo-item:last-child {
    border-bottom: none;
}

/* Estilos para diseño tabla */
.vehiculo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.vehiculo-table th {
    background-color: #8E44AD;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.vehiculo-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

.vehiculo-table tr:last-child td {
    border-bottom: none;
}

.vehiculo-table tr:nth-child(even) {
    background-color: #f8f5fa;
}

.vehiculo-table tr:hover {
    background-color: #f3eef7;
}

.vehiculo-label {
    font-weight: bold;
    color: #6C3483;
    min-width: 120px;
}

.vehiculo-value {
    color: #333;
    font-weight: 500;
}

/* Estilos para elementos específicos */
.vehiculo-fields-widget .precio {
    font-size: 1.1em;
    color: #27ae60;
    font-weight: 700;
}

.vehiculo-fields-widget .kilometraje {
    font-weight: 600;
}

.vehiculo-fields-widget .estado-nuevo {
    color: #27ae60;
    font-weight: 700;
}

.vehiculo-fields-widget .estado-usado {
    color: #e74c3c;
    font-weight: 700;
}

/* Estilos para iconos (opcional) */
.vehiculo-item .vehiculo-label::before {
    content: "•";
    color: #8E44AD;
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .vehiculo-grid {
        grid-template-columns: 1fr;
    }
    
    .vehiculo-item {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .vehiculo-table {
        display: block;
        overflow-x: auto;
    }
    
    .vehiculo-table th,
    .vehiculo-table td {
        padding: 8px 10px;
    }
    
    .vehiculo-title {
        font-size: 1.3rem;
    }
    
    .vehiculo-fields-widget {
        padding: 15px;
    }
}

/* Animaciones suaves */
.vehiculo-fields-widget {
    transition: all 0.3s ease;
}

.vehiculo-item {
    transition: background-color 0.2s ease;
}

.vehiculo-item:hover {
    background-color: #f0eaf5;
    border-radius: 4px;
    padding-left: 10px;
    padding-right: 10px;
}